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 are all features of ADO.Net?
How do you update a dataset in ado.net and how do you update database through dataset?
What is namespace in ado.net?
how do u connect ado.net to sql server
IF we have lot of records in Database. How we can handle them?
Which method do you invoke on the DataAdapter control to load your generated dataset with data?
What are good ado.net object to replace to ado recordset object.
How many types of data table are in SQL.NET
4 Answers Chetu India, HCL, MAHINDRA,
Which object needs to be closed?
What providers do you use to connect to oracle database ?
What are the Features of a dataset
What DataReader class do in ADO.NET ?
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)