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 the difference between typeof() vs gettype()?
What is difference in .net 1.1 and .net 2.0?
What is the biggest disadvantage of “Other Return Types” in Web API?
Give an example of cookie abuse.
Where is the view state data stored?
What is a user developed application?
How does a content page differ from a master page?
What will happen if the server confugration file and the application confugration file have different values for sassion state ASP.NET?
How can you send an email message from an asp.net web page?
Will session work if cookies is disabled?
What are the advantages of passport authentication?
What is a swagger in web api?
Describe the difference between inline and code behind - which is best in a?
What is cross page posting in asp net?
What are the Types of state management techniques