FindControl not working...

Nov 13 2004 9:13 AM
hi, i got this datagrid: [code] [/code] when i try to get the text from the ID column : [code] TextBox text = (TextBox)e.Item.FindControl("Id"); string a = text.Text; [/code] i get nothing. why is that?

Answers (2)