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

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

What is the difference between internal and protected in c#?

929


Define a partial class?

867


How do destructors and garbage collection work in c#?

890


What are the advantages of using delegates in c#?

872


Is python easier than c#?

889


What is iqueryable?

868


What is the use of system.environment class in c#.net?

929


What language is c# similar to?

882


What is readline c#?

840


What is the use of inheritance in c#?

859


Why dependency injection is used in c#?

912


What is string concatenation?

935


Explain the difference between abstract class and interface.

1110


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

989


What is called method in c#?

923