Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 Grid columns and subcolumns

Author  Topic 

shemayb
Posting Yak Master

159 Posts

Posted - 2008-01-21 : 16:18:43
Can I ask for help about handling columns and subcolumns in a datagrid?

How can i get the value in a column?

Funnyfrog

jsmith8858
Dr. Cross Join

7423 Posts

Posted - 2008-01-21 : 16:42:31
The example demonstrates going through the items (rows) in a datagrid and getting the text in each cell:

http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.datagrid.items.aspx

- Jeff
http://weblogs.sqlteam.com/JeffS
Go to Top of Page

shemayb
Posting Yak Master

159 Posts

Posted - 2008-01-21 : 18:04:07
how can you access the value of a subcolumn from a datasource?

Funnyfrog
Go to Top of Page

jsmith8858
Dr. Cross Join

7423 Posts

Posted - 2008-01-22 : 08:46:22
What is a sub column? What is your data source? A data source can be almost anything, it depends what your data source is. Did you try reading the documentation for the objects you are using?

If you want help, please start being specific.

- Jeff
http://weblogs.sqlteam.com/JeffS
Go to Top of Page
   

- Advertisement -