Solved

radio button in asp.net

Posted on 2009-04-06
8
509 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
  • 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
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
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…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

707 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now