Solved

radio button in asp.net

Posted on 2009-04-06
8
515 Views
Last Modified: 2013-11-12
when we accept answer of
www.experts-exchange.com
Select Grade windows come
i want to make same window in asp.net
but i dont know how i did this with radio button
and how i save in table
please give some example
0
Comment
Question by:chandresh43
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
8 Comments
 
LVL 20

Expert Comment

by:informaniac
ID: 24083908
That would be something like Modal Popup.

Have  a look @ this link..

http://www.asp.net/AJAX/AjaxControlToolkit/Samples/ModalPopup/ModalPopup.aspx
0
 
LVL 5

Author Comment

by:chandresh43
ID: 24084741
i want to save data in sql server
how do this sing radio button
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 24084901
You would use a sql query like this

dim Query as string = "Insert Into Grades (QuestionID, Grade) Values (1, '"
if rbGradeA.checked then
   Query &= "A')"
elseif rbGradeB.checked then
   Query &= "B')"
elseif rbGradeC.checked then
   Query &= "C')"
elseif rbGradeD.checked then
   Query &= "D')"
end if
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 5

Author Comment

by:chandresh43
ID: 24085272
there is 4 question and 12 radio button
is i check all
this is so big
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 24085299
You can modify my example code to suit your needs. You would need 4 queries to modify the 4 questions.
0
 
LVL 5

Author Closing Comment

by:chandresh43
ID: 31567079
thats good example i ger multi answer for that
thank you
0
 
LVL 20

Expert Comment

by:informaniac
ID: 24094182
@chandresh43

Wasn't ur original question related to a rating dialog box as in ee?

My question is whether my comment helped you with the original question or not?

What you have accepted is something other than your original question?

Can you please explain?

0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question