Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



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

Answer / sathish

how to retreive a TextBox value from Sql database using
C#.net coding

Is This Answer Correct ?    11 Yes 2 No

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

Answer / shikha kalyan

If you want to store value of a textbox in SQL Server
database then you should use an Insert query:

Let the textbox name be textbox1

Insert into <tablename>(<fieldname>) values('"+textbox1.Text+"')

Eliminate ' if textbox does not contain a string value.

Is This Answer Correct ?    18 Yes 11 No

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

Answer / 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

More C Sharp Interview Questions

What is a constructor in c#?

3 Answers  


What is deadly diamond problem?

0 Answers  


syntax for writing private method in a interface

7 Answers   ABMPL, Wipro,


Can a struct have a default constructor (a constructor without parameters) or a destructor in c#?

0 Answers  


How to add controls dynamically to the form using c#.net.

0 Answers  


What is difference between array and list in c#?

0 Answers  


STATIC METHOD CAN BE OVERLOADING AND OVERIDNG? IS POSSIBLE IN iN c# .NET AND WHAT IS THE REASON??

3 Answers   IBM, TCS,


What does assert() do?

2 Answers  


What does the term immutable mean?

3 Answers   Satyam, Siebel Systems, Techno Labs,


How do I count the length of a string in c#?

0 Answers  


Is null or empty in c#?

0 Answers  


Why do we need abstraction in c#?

0 Answers  


Categories