Click here to Skip to main content
12,953,541 members (57,839 online)
Rate this:
Please Sign up or sign in to vote.
See more:
How to send values in loop once selected checkbox of gridview to next page using session? Help please.
Here's my query

main page:
Dim checked As String
For Each Row As Gridview1 In gridview.Rows
   Dim chk As CheckBox = Row.FindControl("chk")
   If chk.Checked = True Then
Another page
lable1.text = session("next")
Posted 3-Jan-13 10:30am
Updated 3-Jan-13 10:54am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

You store them in the session, and read them from there. If you have no clue how the session works, it's important enough for you to read an article[^] instead of blindly copying and pasting code you don't understand.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month
OriginalGriff 6,429
CHill60 3,490
Maciej Los 3,103
ppolymorphe 2,020
Jochen Arndt 1,975

Advertise | Privacy | Mobile
Web02 | 2.8.170525.1 | Last Updated 3 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100