Hi Christopher,
You could try this I can't remember the exact syntax. I'm at home right now and I don't have .NET on my home machine. There is a good sample in the help (hightlight GridItem and press F1):
Dim grdItem as GridItem
Dim intCount as Int32
intCount = 1
For each grdItem in DataGrid1.Items
intCount += 1
End For
HTH,
Jacci
>Anyone know how to get the row count of a windows from datagrid without looking to it's datasource?
>I see currentrow, visiblerows but nothing for rowcount.
>
>
>I'm looking for a way to iterate through a datagrid and I don't wnat to look at the data source to know when to stop.
>
>Thanks,
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only