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 / lalitkumar

if value is integer
sqlcommand cmd=new sqlcommand("insert into tablename
values("+convert.toint32(radiobutton1.selecteditem.text)+"",con);

Is This Answer Correct ?    6 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is the best method to get two values from the database?

514


What is the difference between connected and disconnected environment?

486


How to enable and disable connection pooling?

499


What are the uses of Stored Procedure?

547


What is ado rdo dao in visual basic?

641






What is dbcontext and dbset in entity framework?

481


What is full form of ado?

530


What is dataadapter in ado.net?

490


What is the difference between executenonquery () and executescalar ()?

480


What is the difference between a datareader and a dataset?

508


What is the difference between statement and preparedstatement interface?

558


Describe briefly an ADO.NET Dataset ?

541


Explain advantages of ado.net?

550


What are the different execute methods of Ado.Net?

548


Explain the role of data provider in ado.net?

534