Message
 
 
To
All
General information
Forum:
ASP.NET
Category:
WebForms
Title:
Datagrid losing items...
Miscellaneous
Thread ID:
01150370
Message ID:
01150370
Views:
79
I have a web form with some fields and a datagrid. The data grid is created fine, has all the records and values it should. After the "save" button is clicked, I am trying to cycle through the grid to get the values. Have done this before, but something isn't working on this one. When I try:
Dim item As DataGridItem

For Each item In Grid.Items
   'some code here
Next
The grid exists, but there is nothing in it. The Grid.Items.Count = 0. This has got to be something silly I'm doing (or not doing). Any help appreciated.
Next
Reply
Map
View