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
Explain the difference between Viewbag and Viewdata in ASP.NET MVC?
mention what is the difference between ado.net and classic ado?
What is viewbag title?
What is definingquery in entity framework? : Entity framework
What is the difference between ViewData, ViewBag and TempData?
What is the use .Glimpse in ASP.Net MVC
Can you explain renderbody and renderpage in asp.net mvc?
What are the options can be configured in AJAX helpers?
What is viewstart page in mvc?
Is .net framework going away?
How we can add the css in mvc?
What is Differnce between html.action and ajax.action?
Describe the gac in the .net framework.
What is session state management?
What is entity framework used for?