By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,281 Members | 2,201 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,281 IT Pros & Developers. It's quick & easy.

form submit

P: n/a
I have 2 aspx pages
on a.aspx i have a checkboxlist control
i check some checkboxes on a.aspx and then click on submit
button to go to b.aspx
how can i check the selected checkboxes from checkbox list
control on b.aspx
pls help
Nov 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
This article could help you:
http://www.aspalliance.com/kenc/passval.aspx

Aside from that, here's another nice, simple way to pass values from one
page to another:
(VB.NET code)

'Add data to the context object before transferring
Context.Items("myParameter") = x
Server.Transfer("WebForm2.aspx")

Then, in WebForm2.aspx:

'Grab data from the context property
Dim x as Integer = CType(Context.Items("myParameter"),Integer)

Of course there are a number of ways to pass values from one page to
another, such as using the querystring, cookies, session,
context, saving to a temporary table in the database between each page, etc.
You'll have to decide which technique is best for your application.
Here are several good articles on the subject to help you decide.
http://msdn.microsoft.com/msdnmag/is...e/default.aspx

http://www.dotnetjunkies.com/tutoria...tutorialid=600

http://www.dotnetbips.com/displayarticle.aspx?id=79

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com

"Saifee" <sa*****@yahoo.com> wrote in message
news:07****************************@phx.gbl...
I have 2 aspx pages
on a.aspx i have a checkboxlist control
i check some checkboxes on a.aspx and then click on submit
button to go to b.aspx
how can i check the selected checkboxes from checkbox list
control on b.aspx
pls help

Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.