How to Insert a TextBox value in to Sql database using C#
coding?
Answer Posted / suthasyed
sqlcommand cmd = new sqlcommand("insert into address values
('"+ textbox1.text +"', "+ textbox2.text +")",
connectionstring);
Is This Answer Correct ? | 66 Yes | 41 No |
Post New Answer View All Answers
What is authentication in asp.net?
Why is mvc better than asp.net?
What is postback in asp net?
Define a multilingual website?
What are the advantages of asp.net?
What is asp.net and its advantages?
Why will you usually create an aspnet user account in the database for an asp.net web application?
What are the Types of object in asp
How do you secure your connection string information?
Where are session variables stored?
What is asp.net caching?
explain code with multi inhertance
Name the tools or API for developing or testing web api?
What is comparevalidator?
What is session handling in a webfarm, how it can work with its limits?