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

Can a abstract class have a constructor?

886


Explain the difference between a struct and a class?

960


What is enum in c#?

956


What is difference between first and firstordefault?

914


What do you understand by the terms datareader object and dataset object?

974


How are delegates chosen?

892


How do you declare an interface in c#?

925


What does namespace mean?

954


What is difference between field and property in c#?

835


What is static classes?

960


What is the difference between string and string in c#?

985


Can the nested class access, the containing class. Give an example?

900


What is toint32 c#?

1046


What happens if you add duplicate elements to a set?

891


What is an array class?

1117