Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: How do you assign datagrid values to variables


Message #1 by info@e... on Tue, 23 Apr 2002 00:57:16
Hello all,

I am trying to assign data values from fields in a datagrid. I would like 
to populate the datagrid with a SQL Server query and assign the 
values to variables. I want to do that instead of doing the 
DataItem.Eval(), etc. I will display the data using the variables inside 
the <ItemTemplate> property of the datagrid. I would appreciate any 
samples in C#, if possible.

Is there a better way to accomplish this? Please advise. Thanks!

P.S - I would like to pass the values trough functions before 
displaying them in the datagrid.

- Elmer M.

  Return to Index