2nd datagrid will not refresh data in ASP.Net (VB)

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default 2nd datagrid will not refresh data in ASP.Net (VB)

    I am using asp.net (VB) and have two datagrids on the page. They both conect to
    the same database (using seperate database connections) but the 2nd one shows
    only items that have a quantity more than 0. When I update the 1st datagrid it
    post back the information and the update shows, but, the second datagrid does
    not show the update (unless I refresh the page which forces the browser to
    submit again and reload the page, then it shows the change). Can anyone help
    please?

    mxa Guest

  2. Similar Questions and Discussions

    1. Redraw or Refresh DataGrid
      Hi all, The idea is to change the height of certain row. The next code does it well but after change the height of that row the grid need to be...
    2. Refresh and/or Reindex a datagrid
      How can I refresh a datagrid, or more precisely, insert a new row with a new index # and reorder the remaining rows. In ItemDataBound, if the value...
    3. Refresh Table data
      Hi Is it possible to refresh the data in a table supplied by a recordset? -- Kind Regards Rikesh (V.InterDev6.0-SP5/W2K-SP4/SQL2K-SP3)
    4. Datagrid Refresh
      I have a pageable datagrid. The records are updated by several people throughout the department. If one user has scrolled to the last page, then...
    5. Data refresh
      Hello! After that I have changed the filter of a form, how I get immediately after the new data displayed? (The textboxs are all linked to the...
  3. #2

    Default Re: 2nd datagrid will not refresh data in ASP.Net (VB)

    You need to have a databind method on the second grid that gets fired when
    the first one is updated. It sounds like the second is only being called in
    the page load event.

    --
    Regards

    Paul Whitham
    Macromedia Certified Professional for Dreamweaver MX2004
    Valleybiz Internet Design
    [url]www.valleybiz.net[/url]

    Team Macromedia Volunteer for Ultradev/Dreamweaver MX
    [url]www.macromedia.com/support/forums/team_macromedia[/url]

    "mxa" <webforumsuser@macromedia.com> wrote in message
    news:d3dvo0$km9$1@forums.macromedia.com...
    > I am using asp.net (VB) and have two datagrids on the page. They both
    conect to
    > the same database (using seperate database connections) but the 2nd one
    shows
    > only items that have a quantity more than 0. When I update the 1st
    datagrid it
    > post back the information and the update shows, but, the second datagrid
    does
    > not show the update (unless I refresh the page which forces the browser to
    > submit again and reload the page, then it shows the change). Can anyone
    help
    > please?
    >

    Paul Whitham TMM Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139