count of rows in datarow
Visual Basic
4
Posts
2
Posters
0
Views
1
Watching
-
hi frnds.. i have a function that return a DATAROW , in another , i want to check that datarow has any values ie any row, or its nothing.. how can i.. cheers... :doh:
-
Hello, You can try this :
Dim dr() As DataRow dr = ds.Tables(0).Select("id > 'o'") 'ds is a DataSet If (dr.GetLenght(0) = 0) then 'Has no row Else 'Has row End if