473,624 Members | 2,249 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

RadioButtons & DataGrid

RB
Hi,
I have retreived questions and answers from DB tables, and
display them into datagrid.

QNo Quest A B C
1 Quest1 5 7 9
2 Quest2 A D C
3 Quest3 gold silver bronze

The values for possible answers (ABC values) are displayed
as radiobuttons. After the form has been submitted I need
to display ONLY the rows for which some radio button is
checked. Par example: I have checked option B for the
first question and option A for the third quest, so I have
to display on the page:
QNo Quest A B C
1 Quest1 5 7(checked) 9
3 Quest3 gold(checked) silver bronze

How to handle appropriate radiobutton events, or is it
possible some other way to solve this?
Thank you.
Nov 17 '05 #1
0 944

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2621
by: discomiller | last post by:
Mario Mueller: Hello *, radiobuttons belong to other radiobuttons by the "name="any_value"" attribut. Thats a fakt. I got the following XML: **************************************************************
0
947
by: BillG | last post by:
I have a column called "Role" that has two choices "Agent" and "Administrator". I am using radiobuttons in the column role. I have no problem displaying the rows and having the proper radio buttons checked. I do that in the OnItemDataBound event. That works fine. The problem is when I click on the edit button and do in-row editing. In my onEdit(), how do I set up the radio buttons to display the current value. I am using template...
0
1073
by: Kelvin | last post by:
Hi all, I have to 2 radiobuttons to control 2 datagrid summay and detail representively. when I click detail radionbutton, In detail report 10 pages records. In the summary report just only 1 page record. When I click summary radiobutton, I select 3rd pages it display the following error. "System.Web.HttpException: Invalid CurrentPageIndex value. It must be >= 0 and < the PageCount. "
2
1243
by: Hrvoje Vrbanc | last post by:
Hi all! I have a DataList with fixed number of columns and variable number of rows (depending of the number of rows in the database). Now, I'd like to put a RadioButton control in every DataList cell (beside the data displayed from the database), but in such a way that all the RadioButtons belong to the same group, i.e. that only one of all those RadioButtons could be checked at the same time. Also, there would be a Button below the...
11
4650
by: Rourke Eleven | last post by:
I have looked and searched. What good is the databind property on Radiobuttons? How does one go about actually using it? What is a good resource on this? I understand that I can easily get/set the information I need programmatically, but what about the databind property I just don't understand it's value.
4
2096
by: news.microsoft.com | last post by:
Hello, I have two databound radiobuttons which have advanced databinding properties of onpropertychanged enabled so that I can raise the columnchanged event whenever the radiobuttons are changed. In the columnchanged event I am simply accepting changes into the dataset. There is no dataadapter because it is a standalone dataset. When one radiobutton is already checked (as opposed to neither) and I select
2
1946
by: neoret | last post by:
Hello. I need some help on how to add a radiobutton to every row in the first column in a datagrid. The datasource to the datagrid is a dataTable. I loop through this table to add rows and just need to find the right way to add a radiobutton for each row... I need the radio buttons to be grouped so that only one can be selected
0
1423
by: PaulS | last post by:
Hello! I put on Form PictureBox and I set big image. Next I put many radiobuttons (80) on PictureBox, but I have problem. I want that 10 radiobuttons have own Checked, next part of 10 radiobuttons have own Checked, etc. I tried add GroupBox on PictureBox, next add RadioButtons. But there is problem that I can't set visible only RadioButtons on image (GroupBox must be hidden). I tried option: "Send to Back" but it hide also
4
1701
by: PedroVision | last post by:
I have a VB 2005 form with 140 different radiobuttons... Some are "checked", some are not... I want to reset all radiobuttons to "unchecked". I've been searching and trying differnet things...there must be a way to access radiobuttons by their "names"... Typical names used include... RadioButton011
0
8233
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8619
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8334
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6108
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5561
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4078
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4173
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2604
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1784
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.