Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: getting data from a drop down list in a datagrid


Message #1 by colin@t... on Sat, 8 Mar 2003 23:38:57
Hey All..

Sorry if this has already been answered, but if it has, I've apparently 
missed it.

Fairly simple question (I think:))... I have a drop down list, in a 
datagrid.  When I click to edit a row in the grid, I want to populate the 
drop down list from the db (have this working, no probs), and then I want 
to set the selected item based on a value I have in the grid...  this is 
where I'm running into trouble.

I can't seem to get to the data for either the value I want to nab in the 
datagrid, or to be able to set the selected value in the grid.  Any 
idea's?  I can provide code if needed, but I think this SHOULD be a fairly 
straight forward answer, no?

Cheers,
Colin MacKenzie

  Return to Index