文章分类 -  VB.NET

Microsoft Visual Studio .NET 2003 For VB.NET
摘要:下面是一个关于VB的农历算法 日期数据定义方法如下 前12个字节代表1-12月为大月或是小月,1为大月30天,0为小月29天; 第13位为闰月的情况,1为大月30天,0为小月29天; 第14位为闰月的月份,如果不是闰月为0,否则给出月份,10、11、12分别用A、B、C来表示,即使用16进制; 最后4位为当年家农历新年-即农历1月1日所在公历的日期,如0131代表1月31日。 阅读全文

posted @ 2005-09-07 14:56 VisionSpace 阅读(1098) 评论(0) 推荐(0) |

摘要:总结:Connection大全1.Sqlserver A.ODBC I.Standard Security: "Driver={SQL Server};Server=Aron1;Database=pubs;Uid=sa;Pwd=asdasd;" II.Trusted connection: "Driver={SQL Server};Server=Aron1;Da... 阅读全文

posted @ 2005-09-07 14:46 VisionSpace 阅读(200) 评论(0) 推荐(0) |

摘要:'排除重复的字符串 Function GetNotRepeat()Function GetNotRepeat(ByVal ArrList As ArrayList) As ArrayList Dim i As Integer : Dim TmpArrayList As New ArrayList For i = 0 To ArrList.Count -... 阅读全文

posted @ 2005-09-07 14:32 VisionSpace 阅读(208) 评论(0) 推荐(0) |

摘要:备份数据库 BackupDataName数据库存放的绝对路径 Function BackUpData()Function BackUpData(ByVal BackupDataName As String) As String Dim Conn As New SqlClient.SqlConnection(ModConn.GetConn) Di... 阅读全文

posted @ 2005-09-07 14:30 VisionSpace 阅读(239) 评论(0) 推荐(0) |

博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3