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
Explain how cookies work.
Explain the asp.net page life cycle.
a web application needs to be created to accept the product name and quantity of a toy from a customer. After the customer has entered the product name the application needs to display the discounted price of the product to the customer (company is offering 35% discount on all products). The application should allow the customer to select the product name from a list box. and also while i'm data binding to a label with custom data binding with some declarations : "The Discounted Price is "+((System.Convert.todouble(lblprodprice.text)*(system.convert.todouble(txtqty.text)) - ((System.convert.todouble(lblprodprice.text)*(system.convert.todouble(txtqty.text)*0.35)). Where i need to give this declaration in asp.net 2.0.
How would you implement inheritance using c#?
Can master pages be nested?
What does aspcompat="true" mean?
What are strong names?
How many web config files can be created for an application?
Which Is Faster MVC or ASP.net ?
What is a web api?
What is bound controls
Name the tools or API for developing or testing web api?
What is difference between Lambda Expression and LINQ in ASP.NET?
How to unit test Web API?
Explain culture and uiculture values.