Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: ASP.NET
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
Edited 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
0 OriginalGriff 5,374
1 Sergey Alexandrovich Kryukov 4,713
2 Peter Leow 2,944
3 DamithSL 2,465
4 Maciej Los 2,270

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