sending a value from one page to another

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • amjad905
    New Member
    • Dec 2006
    • 3

    sending a value from one page to another

    I have a .aspx page (we'll call it Form1) with a
    datagrid on it. The datagrid gets the data from the database. The datagrid on Form1 also has a button which is called Add to cart.
    I have another .aspx page (Form2) with an
    gridview on it.
    So each time the Add to cart button is press an item should be added to the gridview.

    Can anyone out there help as i have spent 2 days searching for this
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    I believe that you need to review the page.ispostback in the page load event. What happens if you have a not page.ispostback before you bind the datagrid?

    Hope that this helps.

    Comment

    Working...