How to Insert a TextBox value in to Sql database using C#
coding?

Answer Posted / sona

insert into emp(empname) values('"+textbox1.Text+"');

Is This Answer Correct ?    159 Yes 62 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which method do you use to enforce garbage collection in .net?

522


Can we use html in asp.net?

504


What is session in asp.net?

529


hi .net gurus. plz if any one has dumps on 70-631 and 70-541 on windows sharepoint services kindly mail me.

1274


What are server activated objects?

640






How you will improve web application performance?

555


What is the adavantage of using ASP.NET routing?

652


What is asp.net localization?

503


What is the difference between visual basic and asp.net?

525


What is the difference between session.abandon() vs clear()?

549


What does the .webpart file do?

591


Explain how can you debug your .net application?

541


What is the difference between login controls and forms authentication?

546


What is the function of new view engine in asp.net? : asp.net mvc

549


What is the recommended approach for asp.net mvc to globally intercept exceptions? What other functionality can be implemented with the approach? : Asp.Net MVC

506