
VB
VB
asdasd1fdsyrt
这个作者很懒,什么都没留下…
展开
-
导入excel数据到DB
'导入数据方法 Private Function ImportData() As Boolean Try Dim dsImport As New DataSet 'EXCEL模板格式校验 If Not ImportByExcel(dsImport) Then Return False End If Me.Cursor = System原创 2021-05-26 11:26:53 · 728 阅读 · 0 评论 -
遍历dataGrid
For i As Integer = 0 To Me.UGrid_SEND.Rows.Count - 1If Me.UGrid_SEND.Rows(i).Cells("CSFLAG").Value = True Then sId = "," + sId + "," + Me.UGrid_SEND.Rows(i).Cells("ID").Value.ToString() CsCount = CsCount + 1 If Not String.IsNullOrEmpty(header) An原创 2021-05-26 11:23:17 · 238 阅读 · 0 评论