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:davewendelken earthlink.net]
Sent: Saturday, August 12, 2006 8:24 PM
To: aspnet-databases aspadvice.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
|