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
What are all the different authentication techniques used to connect to MS SQL Server?
What are the Features of a dataset
What is the difference in record set and dataset?
What is oledb connection?
What is sql command in ado net?
What is ado or jdbc?
What is a string variable?
What is the DataTableCollection?
Explain the various objects in dataset.
Define the data provider classes that is supported by ado.net?
What provider ado.net use by default? Explain the role of data provider in ado.net? What is the role of data provider in ado.net?
What are the advantages of oledb compared with other classes?
What are the different ado.net namespaces are available in .net?
How to maintain the relation between two tables in ADO.NET?
How do I delete a row from a DataTable?