How to Insert a TextBox value in to Sql database using
C#.Net coding
Answers were Sorted based on User's Feedback
Answer / jayatirtha joshi
assign the textbox valuu to a string than using sqlcommand
in c# writing insert querry . insert the value into the
database.
ex; sqlcommand cmd=new sqlcommand("insert into emp values
('"+textbox1.text+"'),con");
cmd.executenonquerry();
Is This Answer Correct ? | 24 Yes | 3 No |
How to use Jquery Plugins in ASP.Net MVC validation?
What is the greatest advantage of using asp.net mvc over asp.net webforms?
Which are the important namespaces used in ASP.Net MVC?
How to update one of my table in database at 4pm every day how it is possible?
What is the use of web api ? Why web api needed, if you have already restful services using wcf ?
How to answer for project questions..?
When i am using Ajax controls (updatepanel),Is page events all are executed or only some events are executed?which page events are executed?
Explain how you can send the result back in JSON format in MVC?
Why are there five tracing levels in System.Diagnostics.TraceSwitcher?
What is the .net framework?
Can we change web.config settings from iis?
How do you initiate a string without escaping each backslash ?