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 |
Explain the DataAdapter.Update() and DataSetAcceptChanges() methods.
What is ado control?
Can we bind one datareader wid two dropdown list?
What are three methods for displaying data in a syncfusion datagrid
What is the difference between ado.net and oledb?
Explain how do you connect to sql server database without using sqlclient?
I am fresh graduate, trained in C# .net. How do i answer when interview ask me , Where do you see yourself within 5 years from now?
Define Execute Scalar?
can we create synonymn in ms access,sql server,my sql if so explain me with example
What are the parameters that control most of connection pooling behaviors?
What providers do you use to connect to oracle database ?
What's the difference between Dataset.clone and Dataset.copy?
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)