View Full Version : Access controls in Edit mode of DetailsView

03-07-2011, 10:49 PM
Hello ,

I try to access TextBox in edit mode of Detais view to take an updated text then updated the data base ,
but I have some problem , the TextBox look like as empty text .
this is my code , I tried to put it inside ItemUpdated event , and ItemUpdating event

TextBox tb = (TextBox)DetailsView1.FindControl("tb1");
Query.ColumnName = tb.Text;

what the problem here ?

03-09-2011, 06:02 AM
thank you , we solve it (:
by binding detaisview again