to create an empty data table
Private Function CreateEmptyDT() As DataTable
Dim DT As New DataTable()
DT.Columns.Add("RowId")
DT.Columns.Add("CourseDt")
DT.Columns.Add("CourseTime")
DT.Columns.Add("CreditHours")
Return DT
End Function
Private Function CreateEmptyDT() As DataTable
Dim DT As New DataTable()
DT.Columns.Add("RowId")
DT.Columns.Add("CourseDt")
DT.Columns.Add("CourseTime")
DT.Columns.Add("CreditHours")
Return DT
End Function
No comments:
Post a Comment