Hi,
I'm creating dynamic textbox (Multiple textboxes) i need to fetch the values of that multiple textboxes. How can i achieve it? I'm creating dynamic textbox in C# code
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Dharani dharanPosted Mar 12, 2014, 4:52 AM
Thanks for your help.
I have achieved bring value from the database where as i need to fetch the values from the dynamic text box. Here am creating multiple text box so am facing issues with fetching all the multiple values from the text box
selva kumarPosted Mar 12, 2014, 2:26 AM
Con.Open();
Cmd = new SqlCommand("Select Command", Con);
SqlDataReader Dr = Cmd.ExecuteReader();
while (Dr.Read())
{
TextBox1.Text=Dr.["ColumnName"].ToString();
}
Con.Close();
Dharani dharanPosted Mar 12, 2014, 1:51 AM
Thanks for your help.
Am using asp.net web application. based on the count from database i need to dynamically generate label and Textbox and also i need to fetch the value from those corresponding Textbox.
VulpesPosted Mar 11, 2014, 5:20 AM