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 class is used to send an email message from an ASP.NET Web page?

550


What is the viewstate in asp.net?

584


What are the memory-mapped files?

531


Differentiate between namespace and assembly.

573


What are the different ways you would consider sending data across pages in ASP (i.e between asp to asp)?

575






How to disable validator control by client side JavaScript?

585


What is asp.net mvc? : asp.net mvc

558


How can you enable impersonation in the web.config file?

570


What is %20 in a url?

550


What is server side session?

533


Which validator control you use if you need to make sure the values in two different controls matched?

657


Why should i prefer JSP over asp.net or any other web development language..??

1456


What is odata in web api?

570


Give an example of cookie abuse.

603


Why do we need a web application session?

521