Display dataset results in a random order

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

  1. #1

    Default Display dataset results in a random order

    I'm connecting to an MS Access database to retireve my data and wan to display
    my results in a random order. What i have is a table containing various
    banners which are linked to various pages in my website (the URL is also stored
    in the dataset) and would like these to appear in a random order.

    My webpages are ASP.Net

    jt_advance Guest

  2. Similar Questions and Discussions

    1. Re-arranging order of DataSet
      Is it possible to re-arrange the order of the dataset, not just sort it. If you have a look at: http://www.ducksoupdesign.net/tak/stock/ You...
    2. random order results from MS access database
      simple question but how could I go about order by search results randomly every time the page loads, or even better set it up so that each time the...
    3. Query results don't display properly in results table.IGNORE PREVIOUS
      :disgust; I need to display the results of a query. The query runs properly. My problem is having specific results display in specific locations in...
    4. Query results don't display properly in results table.
      :disgust; I need to display the results of a query. The query runs properly. My problem is having specific results display in specific locations in...
    5. ORDER BY clause in asp.net dataset
      I have an aspx page on which is a dataset created in DWMX. The sql query is described in the line CommandText='<%# 'SELECT * FROM booklist ' %>' I...
  3. #2

    Default Re: Display dataset results in a random order

    If you were using a msSQL database then it is very simple as there is a SQL
    function to do this. Unfortunately it is not available in Access. Have a
    look at this article [url]http://aspnet.4guysfromrolla.com/articles/051003-1.aspx[/url]
    as it explains how to achieve the same result against the datatables that
    are contained within the dataset.


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

    "jt_advance" <webforumsuser@macromedia.com> wrote in message
    news:d7245p$qbo$1@forums.macromedia.com...
    > I'm connecting to an MS Access database to retireve my data and wan to
    display
    > my results in a random order. What i have is a table containing various
    > banners which are linked to various pages in my website (the URL is also
    stored
    > in the dataset) and would like these to appear in a random order.
    >
    > My webpages are ASP.Net
    >

    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