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 are the types of assembly available

0 Answers  


So how do you retrieve the customized properties of a .NET application from XML .config file? Can you automate this process ?

1 Answers  


What?s the C# equivalent of C++ catch (?), which was a catch-all statement for any possible exception?

1 Answers  


Which is algorithm is used to Manage the Memory in .net ??

7 Answers   TCS,


Why do we use interface in c#?

0 Answers  


What are the advantages of interface in c#?

0 Answers  


What is the difference between ref and out parameters in c#?

0 Answers  


How do I automate my desktop application?

0 Answers  


How to find the current application file path while runtime?

0 Answers  


Explain about ODP.net

0 Answers  


Is versioning applicable to private assemblies?

0 Answers   Arigo Infotech,


What is the difference between readkey and readline in c#?

0 Answers  


Categories