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 Cookies Less Session?
when a request is made in Life cycle of ASP.NET page .
What happens if an ASP.NET server control with event-handling routines is missing from its definition?
How can we apply themes to an asp.net application?
How is it possible for .NET to support many languages?
How can we provide the WebParts control functionality to a server control?
What are the advantages and limitations of query string?
Define tracing.
Web API supports which protocol?
A web service can only be written in .net? State whether true or false.
To add a hyperlink column to the DataGrid which tag is used ?
Why asp.net mvc is better than asp.net? : Asp.Net MVC
Explain the boxing and unboxing concept in .net?
In Code-Behind class which kind of code (server or client) is found ?
Which method has beenintroduced in asp.net 4.0 to redirect a page permanently?