datagrid1 findcontrol problem

R

rahim

hi,

i have datagrid, and a itemtemplate, in itemtemplate i
have a servercontrol textbox,
when i entered the value inside the textbox, i am not
able to view the text inside in it.

SqlDataAdapter1.Fill(Ds1, "kk")
DataGrid1.DataBind()


Dim x As Long
For x = 0 To DataGrid1.Items.Count - 1
Dim t1 As TextBox
t1 = DataGrid1.Items(x).FindControl
("TextBox1")
Response.Write((t1.Text) & x & "<br>")

Next





when i bind the control using databinding, i can see the
data inside, but if i modify the text in inside textbox,
cann't be seen.

how to slove this problem

thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

FINDCONTROL PROBLEM 1
Findcontrol issue 0
FormView - FindControl 14
FindControl problem 2
FormView FindControl error 1
problem with FindControl 2
GridViewRow FindControl failing 3
FINDCONTROL PROBLEM 4

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top