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 |
how to display empty table to datagrid
What is the significance of CommandBehavior.CloseConnection ?
Differnce between Stored procedure and user defined functions?
17 Answers Microsoft, Symphony,
How do you update a dataset in ado.net and how do you update database through dataset?
What does executequery return?
What are the rules to implement connection pooling?
How to store data in memory?
What is difference between ado.net and asp net?
List all the steps in order, to access a database through ado.net?
how we can fire event in databound coulm in datagfrid withot using button?
What is ado circle?
How to generate XML from a dataset and vice versa?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)