List Info

Thread: Gridview data column value?




Gridview data column value?
user name
2006-08-13 17:09:45
One way to reference is by using
GridName.Rows(indexvalue).Cells(indexvalue).text

Or 

If you use the DataKeyNames you could use 
GridName.DataKeys(indexvalue).Values("DataKeyName&quo
t;)



-----Original Message-----
From: David Wendelken [mailto:davewendelkenearthlink.net] 
Sent: Saturday, August 12, 2006 8:24 PM
To: aspnet-databasesaspadvice.com
Subject: [aspnet-databases] Gridview data column value?


I can't figure out where the actual database column data
values held in the
GridView are stored.

Could someone give a C# example of referencing them in the
code-behind?

Thanks!




Need SQL Advice? http://sqladvice.com
Need RegEx Advice? http://regexadvice.com
Need XML Advice? http://xmladvice.com






Need SQL Advice? http://sqladvice.com
Need RegEx Advice? http://regexadvice.com
Need XML Advice? http://xmladvice.com
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )