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

What is oledb driver?

491


Explain the two fundamental objects in ado.net?

497


Command objects uses, purposes and their methods.

512


Explain the architecture of ado.net?

532


Define Execute Scalar?

548






Describe ado.net object model in detail.

527


Explain the various objects in dataset.

522


What does ole stand for in excel?

596


What is ado.net objects?

514


What is basic use of data view?

504


How to Read, Add, Update and Delete record in Entity Framework ?

560


How to pass values into a datatable?

590


What providers does Ado.net uses?

568


What is an ADO.Net?

562


Why is ADO.NET serialization slower than ADO ?

559