Datagrid Templete Value

  • Thread starter Thread starter MDB
  • Start date Start date
M

MDB

I have a datagrid with an drop down list item templete and was wondering how
I get the value of this? The datagrid is called dgProducts and the drop
down list is called ddQty.

Thanks in Advance
MDB
 
I figured it out, thanks for looking....


System.Web.UI.WebControls.DropDownList dd;

dd =
(System.Web.UI.WebControls.DropDownList)dgProducts.Items.Cells[0].FindControl("ddQty");
 
Back
Top