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

How to identify the updated rows in a dataset?

517


What is ole word?

529


What are ado.net objects?

531


How can we load multiple tables in to dataset?

571


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

534






What are advantages of microsoft-provided data provider classes in ado.net?

545


How can you add or remove rows from the datatable object of dataset?

577


Which is the feature of ado.net?

524


Explain ado.net features? Benefits? Drawbacks?

553


What is the DataTableCollection?

573


What is aggregate root?

494


What is concurrency? How will you avoid concurrency when dealing with dataset? (One user deleted one row after that another user through his dataset was trying to update same row. What will happen? How will you avoid the problem?)

581


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

564


Define the data provider classes that is supported by ado.net?

515


What is ole in vb?

508