How to Insert a TextBox value in to Sql database using C#
coding?
Answer Posted / chandra shaker
insert into emp(empname) values('"+textbox1.value+"')
If you use html cocntrol textbox1.Value
or
If you use Aso cocntrol textbox1.Text
Is This Answer Correct ? | 192 Yes | 84 No |
Post New Answer View All Answers
What are sessions and cookies?
What is connection pooling and how to enable and disable connection pooling?
How do cookies work? Give an example of their abuse.
How do I send an email message from my ASP.NET page?
What is a web api? Which protocol is used in a web api?
How to automatically get the latest version of all the asp.net solution items from source safe when opening the solution?
How can you apply a theme to your asp.net application?
What are server objects?
If 200 is for all successful operation then why do we have 201 response codes?
Error : The operation couldn’t be performed because ole db provider sqlncli10 for linked server was unable to begin a distributed transaction.00000110 oledb provider for linked server returned message the partner transaction manager has disabled its support for remote/network transactions. I can able to execute the stored procedure in sql server but when i run the web page getting error like above. I did all the configuration. what is the solution?
What is page fragment caching?
Can we use MSSql as backend in asp.net...if yes then How.?
What is data cache in sql server?
How do you design a website with multilingual support in ASP.NET ?
What are the types of authentication in asp.net?