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...

I want to ask u that if i add radio button in ado.net
form,and how radion button data insert in SQL2005 Database...

Answer Posted / sumit pardeshi

if(RadioButton1.checked == true)
{
string str="Male";
}
sqlCommand cmd=new sqlcommand("Insert into tablename
values("'+str+'")",con);

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how do you connect to sql server database without using sqlclient?

981


What are the usages of the command object in ado.net?

1012


What are the parameters that control most of connection pooling behaviours?

1054


How to pass values into a datatable?

1111


Compare Data Reader & Dataset in ado.net?

979


What is the meaning of object pooling?

1207


What is the namespaces being used to access oracle database?

1058


What are the disadvantages of using datalist?

1013


How to create dynamic gridview?

1012


what is the difference betwen typed dataset and untyped dataset?in general which dataset can we use in programming?

999


What is difference between sqldatareader and sqldataadapter?

919


What is the usage of the dataset object in ado.net?

949


What is data reader in ado.net?

989


What is the difference between Dataset. clone and Dataset.copy?

1027


Which is faster datareader or dataadapter?

973