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 the framework differentiate between 2 version dlls? eg Version 2.0 and 2.1 dlls are there. both are referred in the code.but we are using only name of that dll not the version number. in run time how the framework know which dll has to be referred?
Explain ASP.NET MVC Identity and Security?
What is the difference between using system.net and system.net.sockets?
What is the difference between viewbag and viewdata in mvc?
What is .net architecture?
What is the meaning of unobtrusive javascript? Explain us by any practical example.
Can any particular component of .net framework 3.0 be removed?
What is the need of Action Filters in ASP.Net MVC
What are the benefits of .net framework?
How to Redirect Tracing to a File
What is attribute routing in mvc?
What is entitytype? : Entity framework