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 |
differences between poco, model first and data first approach?
Explain what platforms does the .net framework run on?
About Assembly in .NET, types of assemblies, their difference, How to register into GAC. How to generate the strong names & its use ?
6 Answers Infosys, Microsoft, MMTS,
What is the difference b/w constant & read only variable?
4 Answers IMI Soft Engineering,
What are HTML Helpers, AJAX Helpers in ASP.Net MVC?
What is controllercontext?
What data type should you use if you want an 8-bit value that's signed ?
what is eager loading?
Which are the important namespaces used in mvc?
What are the features that are new in .net 2.0
Is CLR is compiler or Interpreter
Explain how to use multiple submit buttons in ASP.Net MVC?