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
Does sqlclient and oledb class share the same functionality?
How to copy the contents from one table to another table and how to delete the source table in ado.net?
How to Read, Add, Update and Delete record in Entity Framework ?
How do you connect to sql server database without using sqlclient?
How can we perform transactions in .net?
Difference between sqlcommand and sqlcommandbuilder?
What is an ADO.Net?
Which one of the following objects is a high-level abstraction of the connection and command objects in ado.net?
can we create synonymn in ms access,sql server,my sql if so explain me with example
What is ado.net object model?
How do I delete a row from a DataTable?
What is the use of adodc?
What are the different namespaces used in the project to connect the database? What data providers available in .net to connect to database?
What is data reader in ado.net?
Why ca not we use multiple inheritance and garbage collector paralelly in .net?