how to create textboxes dynamically and insert textbox text
into sql database
Answer Posted / aravind
TextBox1 = new TextBox();
TextBox1.ID = "TextBox1";
TextBox1.Style["Position"] = "Absolute";
TextBox1.Style["Top"] = "25px";
TextBox1.Style["Left"] = "100px";
Form1.Controls.Add(TextBox1);
and using
insert into columuname value ("+ textbox1.text+")
| Is This Answer Correct ? | 12 Yes | 9 No |
Post New Answer View All Answers
What is the difference between c# and .net?
Is asp.net easy to learn?
How do u deploy your asp.net application?
How many validators do ASP.NET have?
Explain http handlers? Where we can use the http handlers?
How u refer webservices?
What are the 3 levels at which content pages can be attached to Master Page?
What are the modes of updation in an updatepanel? What are triggers of an updatepanel?
Which dll handles the request of .aspx page?
What is viewstate? What does the "enableviewstate” property do? Whay would I want it on or off?
What is session object? Describe in detail.
If we remove web.config or machine.config from the application then, is this application will works?
What is a uri query?
Do I need to have the latest version of windows media player installed?
What is autopostback in dropdownlist in asp net?