Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP.NET
Hi Friends..
How To Load A Dynamic Page That Contains The Data Retrieve From The Database Where ID =@id Using ASP.Net (C#) WebForms?
 
I Have 3 ImageButtons When I Click On 1st Image Button Then It Has to Display The New Page Dynamically With The Data Retrieving From Database Of 1st Record..
similary same for 2nd and 3rd Image Buttons...If I Click On 2nd Image Button It Has To Display The New Page Dynamically With The Data Retrieving Form Database Of 2nd Record And similar with 3rd Image Button..
 
Pls Help Me.......
Posted 23-Dec-12 21:05pm

1 solution

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

Solution 1

1. Place an 3 image buttons on the page
2. Add 3 click events for image buttons
3. In the events run the select query using SqlCommand and fetch the required details
4. if required store the details in a session and redirect to the new page.
5. In Page_Load of new page fetch details from Session and display.
 
Hope it helps.
 
Regards.
  Permalink  

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

  Print Answers RSS
0 DamithSL 390
1 Maciej Los 217
2 OriginalGriff 213
3 BillWoodruff 135
4 Garth J Lancaster 90
0 OriginalGriff 7,953
1 DamithSL 6,139
2 Sergey Alexandrovich Kryukov 5,449
3 Maciej Los 5,293
4 Kornfeld Eliyahu Peter 4,539


Advertise | Privacy | Mobile
Web03 | 2.8.141223.1 | Last Updated 25 Dec 2012
Copyright © CodeProject, 1999-2014
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