How to Insert a TextBox value in to Sql database using C#
coding?
Answer Posted / suthasyed
sqlcommand cmd = new sqlcommand("insert into address values
('"+ textbox1.text +"', "+ textbox2.text +")",
connectionstring);
| Is This Answer Correct ? | 66 Yes | 41 No |
Post New Answer View All Answers
Distinguish between Server-side and Client-side code with its functionality?
What is the difference between page-level caching and fragment caching?
Describe the diffeerence between inline and code behind?
Which protocol is used in a web api?
How would ASP and ASP.NET applications run at the same time on the same server?
Why is global asax is used for?
In how many ways we can retrieve table records count?
What is the page life cycle in asp.net?
In your ASP.NET 2.0 web application you want to display an image that is selected from a collection of images. What approach will you use to implementing this?
What are the events that happen when a client requests an asp.net page from iis server?
Which object encapsulates state or data of a user?
What is the purpose of url encoding?
What is data caching?
What are the various types of cookies in asp.net?
Can you explain page lifecycle in net?