Update two table in one datagrid

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

  1. #1

    Default Update two table in one datagrid

    Dear all,

    I have created a dataset which gets the data from two table and show them in
    one datagrid. However, when I add the Edit column to the datagrid, I find that
    DW only allow me to choose one table to update. Is there any way for me to
    update the DB?

    Eg Table1 have col: productID, productCatID, ProductDesc
    Table2 have col: productCatID, productCat

    Thanks!!

    Ad_dee

    Ad_dee Guest

  2. Similar Questions and Discussions

    1. Update SQL table based on datagrid changes
      Hello all, How would I update the SQL table based on the changes made to the data grid in vb.net. Any help would be greatly appreciated, ...
    2. How many dataBase tables can a dataSet table update via dataGrid?
      I would like to display data in a datagrid in which the source of the data is multiple database tables. The select statement in the command object...
    3. To all Gurus: How can I edit/update a DataGrid in a DataGrid (nested DataGrid)? Possible?
      Hello, I am searching the whole Internet for a good example how to edit/update a DataGrid in a DataGrid (nested DataGrid). I know how to...
    4. How do you update corresponding rows on the same table after a row on the table has been updated?
      This is my goal: When specific columns in a row, in a table, are updated, corresponding columns in other rows in the same table need to be updated...
    5. UPDATE MULTIPLE ROWS IN ONE TABLE OBTAINING SUMS FROM ANOTHER TABLE
      UPDATE MULTIPLE ROWS IN ONE TABLE OBTAINING SUMS FROM ANOTHER TABLE I need to update a table with distinct sums from another table. I will...
  3. #2

    Default Re: Update two table in one datagrid

    Not with the built in DW code because the update statement is written inside
    of the custom tag. With hand written code it is relatively easy to do. I
    suggest that you have a look at the articles on [url]www.4guysfromrolla.com[/url] on
    the datagrid as this is will show you how.

    --
    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]

    "Ad_dee" <webforumsuser@macromedia.com> wrote in message
    news:d2eekj$se$1@forums.macromedia.com...
    > Dear all,
    >
    > I have created a dataset which gets the data from two table and show them
    in
    > one datagrid. However, when I add the Edit column to the datagrid, I find
    that
    > DW only allow me to choose one table to update. Is there any way for me to
    > update the DB?
    >
    > Eg Table1 have col: productID, productCatID, ProductDesc
    > Table2 have col: productCatID, productCat
    >
    > Thanks!!
    >
    > Ad_dee
    >

    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