I want to ask u that if i add radio button in ado.net
form,and how radion button data insert in SQL2005 Database...
Answers were Sorted based on User's Feedback
Answer / vinay kumar v
If(Radiobutton.checked == true)
{
string str1 = "Male";
}
insert into #t value(str1);
Is This Answer Correct ? | 9 Yes | 1 No |
Answer / 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 |
Answer / vasu
Using Dataset first create data row then
dr[index]=radiobuttonid.selecteditem;
Is This Answer Correct ? | 14 Yes | 7 No |
Answer / preethi
String radiovalue;
radiovalue=radiobuttonid.selecteditem.Text;
and pass that string to database
Is This Answer Correct ? | 11 Yes | 9 No |
Answer / 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 |
What is the namespace in which .NET has the data functionality classes?
What does executequery return?
Define partial class?
Is bulk insert faster than insert?
What are the 3 major types of connection objects in ado.net?
how can implement dropdownlist in particular of dataset when try to update?
Differnce between Stored procedure and user defined functions?
17 Answers Microsoft, Symphony,
What we do with the object of ado.net dataset after using it?Can we dispose it or can we set it nothing?Is it must or not?
What is the difference between Dataset. clone and Dataset.copy?
WHAT Are the major major compnents of a data provider in ADO.net.
What are the important features of ado.net 2.0?
What is the use of adodc?