How to Insert a TextBox value in to Sql database using C#
coding?
Answer Posted / pksutha
sqlcommand cmd = new sqlcommand("insert into address values
(@textbox1.text,@textbox2.text)",connectionstring);
Is This Answer Correct ? | 63 Yes | 37 No |
Post New Answer View All Answers
What are the types of session in asp.net?
Which protocol is used to call a web service?
What are the different kinds of assemblies?
Explain the steps needed to be performed in order to create an animation in xaml?
Explain cookies with example.
Are cookies stored on server or client?
Can you use c# without .net?
What is application session?
What is Partial PostBack in ASP.NET?
What is new asp.net core?
What are early binding and late binding.
Dataset is the disconnected environment. suppose if you are binding records to gridview (disconnected environment) and you are making changes to the the grid but before updating the database if any other user modify the data, how will you avoid such problem?
How many types of server controls do we have?Also explain differance between them taking an example of ASP.NET?
What is http pipeline in asp.net?
Which property needs to be set for script manager control to extend the time before throwing time out expection if no response is received from the server?