Retrieve Data from WebDataGrid.Rows
New DiscussionI need to retrieve the data contained inside a WebDataGrid. What is the best way to do it?
At first I thought I could do something like this below (ADO.NET DataTable style) :
foreach (Infragistics.Web.UI.GridControls.GridRecord rec in WebDataGrid1.Rows)
{
rec["MyColumn"]; // Do something with the value here
}
I know I can get the value using the column index rec.Items[0].Value . Is there a way I can use the column Key name?
Thanks
Daniel
Sign In
to post a reply
Replies
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
Favorites
0 Replies
10 Created On
Jun 15, 2011 Last Post
15 years, 2 months ago