How to Insert a TextBox value in to Sql database using
C#.Net coding
Answer Posted / abcd
sqlcommand cmd=new sqlcommand("insert into dept values
('"+txtbox1.text+"'),con");
cmd.executenonquerry();
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
What are the components of the .net framework.
What is the difference between partial and renderpartial?
How we can multiple submit buttons in ASP.Net MVC
What is storage model? : Entity framework
What is entity framework in asp net?
What is Peek method in Tempdata in ASP.Net MVC?
What is entity graph? : Entity framework
What are the 3 main components of an asp.net mvc application?
How does the .net framework 3.0 relate to the .net framework 2.0?
Do I need microsoft .net framework?
What is the use of action filters in an mvc application?
What is Differnce between html.action and ajax.action?
explain how you can load related entities in ef (entity framework)?
What is managed extensibility framework?
What symbol would you use to denote, the start of a code block in razor views?