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 |
what is entity sql?
Will the finally block get executed if an exception has not occurred
I can't be bothered with all this CAS stuff. Can I turn it off
Why are there five tracing levels in System.Diagnostics.TraceSwitcher?
what is scalar property?
How to use multiple submit buttons in asp.net mvc?
What is .net architecture?
How do you register the dotnet component or assembly ?
1 Answers Accenture, BirlaSoft,
Does Tempdata hold the data for other request in ASP.Net MVC?
about triggers?
what is the use of final method
What is the difference between renderaction and renderpartial?