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 significance of attaching a profile while creating a user?
How many types of server controls do we have?Also explain differance between them taking an example of ASP.NET?
What is the difference between mechine.config and web.config?
Explain about ASP.NET?
Which authentication uses a combination of windows and iis authentication?
What is the difference between mvc and asp.net? : Asp.Net MVC
What is AutoPostback?
Can asp.net work on an nt server?
Briefly describe the role of global.asax?
Explain about asp.net 2.0 themes?
what are the ihttphandler and ihttphandlerfactory interfaces ?
What are the new navigation controls in asp.net 2.0?
Explain login controls.
What are the contents of cookie?
What is the best Macanism to clear the Cache in asp.net