473,289 Members | 1,940 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,289 software developers and data experts.

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 1321
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
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
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
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
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
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
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
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
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
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
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.
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

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.