...

View Full Version : Access controls in Edit mode of DetailsView



wala
03-07-2011, 09: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 ?

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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum