473,471 Members | 1,912 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

selection of checkbox on one page

maliksleo
115 New Member
hi

this is my code
Expand|Select|Wrap|Line Numbers
  1. Dim count = GridView1.Rows.Count
  2.         Dim i As Integer
  3.         For i = 0 To count - 1
  4.             CType(GridView1.Rows(i).FindControl("CheckBox1"), CheckBox).Checked = True
  5.         Next
  6.  
my problem is that this code selects all rows in a gridview but i want to apply it only on the page being viewed(paging in gridview)
your help is required

regards
maliksleo
Apr 9 '09 #1
2 1032
kunal pawar
297 Contributor
Can you explain more, your description is not clear your requirement.
Apr 9 '09 #2
Frinavale
9,735 Recognized Expert Moderator Expert
Could you please explain when do you want to do what?
Apr 9 '09 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: lawrence | last post by:
I'm a beginner with Javascript and especially cross-browser Javascript. I got this working in IE, but not in Netscape 7. It seems like, in Netscape, every time I click on a button, the focus shifts...
4
by: Nicolas Rubin | last post by:
Hi, I would transfer the result of a checkbox selection into an SQL request. Could you help me ? Many thanks in advance Nicolas
2
by: bienwell | last post by:
Hi, Does the OnSelectedIndexChanged event work when we mark on the checkbox on the cell of Datagrid control ? I tried to call this event; it didn't affect anything. Do you know any event that...
1
by: Joja | last post by:
I have 3 checkboxes but the user should select just one. How to block multiple checkbox selection ? Joja
3
by: =?Utf-8?B?QmFkaXM=?= | last post by:
Hi, I have a 5 checkboxes and I would like to be able to use them as grouped radiobuttons or a checkboxlist (one selection at the time) in the client side without having to use a autopostback....
4
by: Randy Smith | last post by:
Hi, I would like to limit my user selection to only one row in the GridView at a time. Is there any way to set this? TIA, Randy
4
by: HKS | last post by:
Hi everybody I have a javascript to select and deselect items in a listbox depending on checkbox selection The problem now i have is, i am calling the javascript from server side What...
0
by: New2ASP | last post by:
Thanks everyone in advance for your help. I am fairly new to web development but an experienced window-based developer. Here's the structure of my Gridview Column 1 : Checkbox with SelectAll...
0
by: sharonrao123 | last post by:
hello all, I have a parent gridview company and in this one a nested gridview people, Is it possible to allow the user to select one row or multiple rows from the people gridview using a check box...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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,...
1
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
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
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...
0
muto222
php
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.