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


Please Help Members By Posting Answers For Below Questions

Can you explain one critical mapping? Performance issue which one is better? Whether connected lookup tranformation or unconnected one?

1037


What is the usie of activex control in .net?

763


What is the compiled object?

1875


Explain the namespace classes used in asp.net mvc? : asp.net mvc

764


Do you know caching feature?

758


How to use multiple scriptmanager controls in a web page?

875


Which library is used by the testers and developers to develop automated tests and create testing tools?

783


Explain in what order a destructors is called.

814


Just by seeing the signature of the bean how can you specify whether it is a stateful or stateless session bean?

771


Is it true that a Web service must be written in .NET or not?

830


What is data control in asp.net?

784


Where can I get the details on migration of existing projects using various technologies to asp.net?

777


Describe Segmentation With Paging?

832


How do you remove duplicates without using remove duplicate stage?

821


What is the difference between custom web user control and a custom web server control?

728