how to retrive a TextBox value in to Sql database using C#
windows form application coding

Answer Posted / shanta

You should pass query as
insert into <tablename>('"+textbox.text+"')

no matter whether it contains number or string type value

Is This Answer Correct ?    8 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Please explain the basic string operations used in c#?

734


In object oriented programming, how would you describe encapsulation in c#?

732


How does yield return work c#?

705


What is difference between interface and abstraction?

682


How to find Percentage, name ,College from a resume or document ? How to export these values to other page in C#?

716


What is ildasm and obfuscator in net?

734


What is difference between ienumerable and ienumerator in c#?

715


What is the difference between and xml documentation tag?

737


What is form feed and carriage return?

688


What is an inheritance ?Give an example in which inheritance is used?

753


What is class method c#?

676


Can you call from an inherited constructor to a specific base constructor if both base class and an inheriting class has a number of overloaded constructors?

733


What is a statement c#?

705


what is virtual method in c#?

918


Are c# objects passed by reference?

656