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 will you fill the gridview by using datatable object at runtime?
can we create synonymn in ms access,sql server,my sql if so explain me with example
what is execute scalar?
11 Answers Atharva Infotech, Dohatec New Media, Make eIT, Protech,
What are the data providers used in ado.net
Explain what are acid properties?
What are the major difference between classic ADO and ADO.NET?
What are all the different authentication techniques used to connect to MS SQL Server?
Can I use One Data Set for More than one Data Adapter?
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 ado code?
What is disconnected architecture in ado.net?
What is data view and variable view?
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)