webform filling by using gridview

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • malli kai
    New Member
    • Sep 2011
    • 6

    webform filling by using gridview

    I use one web form1 with patient details
    and another web form2 with one grid view.
    This grid view filling with data by using database connection.
    The second form is popup window for one button in form1.
    Now i want to select one row data from grid view and update the selected data by using form1....
    I hope my question is clear.......... .
    please help me......
    please give me answer with in one day........
    Thank u.....
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    You are going to have to pass the information about the row that you want to select from the WebForm1 to WebForm2.

    You could use the QueryString for this purpose (passing the patientID as the parameter). You could also set a cookie...or if you want to do it server side you could set a Session variable with the patient selected.

    Anyway, once you have retrieved the information required to retrieve the record in WebForm2, you can configure the GridView so that the record is selected for editing purposes.

    -Frinny

    Comment

    Working...