473,499 Members | 1,579 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

CheckBoxes & DataGrids ASP.net

Here is what I'm trying to do.
I need the user to make multiple row selections, either using a checkbox
column or selecting Multiple Rows from the DataGrid. Is there a way to do
this and if so can I find some sample code. I'm using VB. Any HELP would
be great.

Thanks

Randy
Nov 18 '05 #1
3 1327
Randy,

You can have a checkbox inside a TemplateColumn. It is easy.

Eliyahu

"Randy Rubin" <ra***@imarubin.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Here is what I'm trying to do.
I need the user to make multiple row selections, either using a checkbox
column or selecting Multiple Rows from the DataGrid. Is there a way to do
this and if so can I find some sample code. I'm using VB. Any HELP would
be great.

Thanks

Randy

Nov 18 '05 #2
That part I have, It's beng able to referance them with a value for the row
without displaying any text for the checkbox control.

"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:eB**************@TK2MSFTNGP10.phx.gbl...
Randy,

You can have a checkbox inside a TemplateColumn. It is easy.

Eliyahu

"Randy Rubin" <ra***@imarubin.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Here is what I'm trying to do.
I need the user to make multiple row selections, either using a checkbox
column or selecting Multiple Rows from the DataGrid. Is there a way to do this and if so can I find some sample code. I'm using VB. Any HELP would be great.

Thanks

Randy


Nov 18 '05 #3
Randy,

I have the exact sample code you need in the code library of my website,
www.aboutfortunate.com. Click on the code library link at the top right of
the page and then use the search box there to search for: checkbox in
datagrid and you'll have what you need.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"Randy Rubin" <ra***@imarubin.com> wrote in message
news:YUxJc.7134$%p4.340@okepread04...
That part I have, It's beng able to referance them with a value for the row without displaying any text for the checkbox control.

"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:eB**************@TK2MSFTNGP10.phx.gbl...
Randy,

You can have a checkbox inside a TemplateColumn. It is easy.

Eliyahu

"Randy Rubin" <ra***@imarubin.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Here is what I'm trying to do.
I need the user to make multiple row selections, either using a checkbox column or selecting Multiple Rows from the DataGrid. Is there a way
to
do this and if so can I find some sample code. I'm using VB. Any HELP would be great.

Thanks

Randy



Nov 18 '05 #4

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

Similar topics

0
3712
by: Frank Collins | last post by:
Can anyone point me to some good examples on the web of using values from dynamically created checkboxes on forms in ASP, particularly relating to INSERTING those values into a SQL or Access...
8
2808
by: DylanM | last post by:
I have some checkboxes that are generated from the results of a database search. At the moment, the checkboxes are part of a table making up a form. Users are going through the form, clicking the...
0
959
by: Fresh Air Rider | last post by:
I am having trouble getting checkboxes to work within Repeaters and DataGrids I have tried to access the value of each checkbox within a repeater which has been ticked as follows :- string...
7
2401
by: DJ Dev | last post by:
Hi All, I have a complex problem. I have dropdownlists (usually 3-5) and the user selects some value from these and for each value selected, datagrids are shown to the user. I am creating the...
1
1152
by: David McCormick | last post by:
I have been scouring the message boards before I posted this question hoping to find an answer regarding datagrids and their behaviour after a sort command has been invoked. What I am trying to...
4
1937
by: Jim Bancroft | last post by:
Hi everyone, I'm using a DataGrid with TemplateColumns. My DataGrid is located in a cell of an asp:Table. I did this so it's positioned correctly onscreen. One of the DataGrid's...
6
1934
by: nasirmajor | last post by:
dear all, i have a datagrid with checkboxes for selection of rows. and want to get unique id/ids(job_code) from the selected rows in array etc. can anyone help. <asp:datagrid id="dgResults"...
1
1798
by: Kasapo | last post by:
Hello, I am currently working on a website in which I have checkboxes to select attendance for brainstorming sessions. Currently, you can select multiple checkboxes, but the last one I want to be an...
2
1912
by: rn5a | last post by:
In a shopping cart app, a ASPX page retrieves the order details & personal details of a user from a MS-Access database table depending upon the username of the user. The order details of a...
1
1092
by: Cdude | last post by:
I have a datagrid with checkboxes in it.I have a total column. Now whenever a checkbox is ticked i need to retrieve the total of that row.
0
7130
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,...
0
7171
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7220
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...
1
6893
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...
0
5468
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3098
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...
0
1427
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 ...
1
664
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
295
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.