[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Select Grid view row, display new grid view on another aspx page

Posted on 2009-04-15
3
Medium Priority
?
441 Views
Last Modified: 2013-12-25
Hey,

What's the best way to do the following.

I have a grid view and it displays workoutplans, i want to click on the Select for a row(workoutplan).Then it brings me to a new page which displays another grid view with all the workouts for that workoutplan.

Workout Plan Table Bellow:

                  workout             Description          exercise   workoutcat       startdate
 Select | morrys workout | this is my workout | Cardio   | Treadmil      | 12/04/2009






Thanks,
Maurice Boaland
0
Comment
Question by:ali678
  • 2
2 Comments
 
LVL 12

Accepted Solution

by:
wht1986 earned 500 total points
ID: 24154608
Rather than a select command, I would make a hyperlink that uses some identifier of the workout plan in the querystring.  

make a column like

<asp:HyperLinkField DataNavigateUrlFields="MyID" DataNavigateUrlFormatString="Page2.aspx?ID={0}" Text="Select" />
0
 
LVL 12

Expert Comment

by:wht1986
ID: 24164673
did that work for you?
0

Featured Post

Granular recovery for Microsoft Exchange

With Veeam Explorer for Microsoft Exchange you can choose the Exchange Servers and restore points you’re interested in, and Veeam Explorer will present the contents of those mailbox stores for browsing, searching and exporting.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month18 days, 1 hour left to enroll

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question