Professional Web Applications Themes

Sorting data in Listbox/Dropdown lists - ASP.NET General

hi, i have loaded the listbox with the data from a database using dataset. i am finding difficulty in sorting the data. i am not able to find a method to sort data. any help in this regard would be highly appreciated. thanks, -sriram...

  1. #1

    Default Sorting data in Listbox/Dropdown lists

    hi,

    i have loaded the listbox with the data from a database using dataset. i am
    finding difficulty in sorting the data.
    i am not able to find a method to sort data.

    any help in this regard would be highly appreciated.

    thanks,

    -sriram


    Sriram Guest

  2. #2

    Default Re: Sorting data in Listbox/Dropdown lists

    You can add and remove rows if thats what you mean. If you mean the fields
    within the rows then you would have to use the DataRow methods for the
    specific row. I'm thinking though that DataView doesn't hold the data
    itself but that it simply presents the DataSet's data. So you can have
    multiple DataViews of the same DataSet and changes made to one DataView
    would actually be changed in the DataSet. As a consequence you would have
    to synchronize any writes (doentation confirms this).

    Todd Thompson
    Todd Thompson Guest

  3. #3

    Default Re: Sorting data in Listbox/Dropdown lists

    hi todd,

    i have tried it but i am not able to get the syntax working properly. i am
    finding difficulty in populating the data with dataview. any suggestions.

    thanks,

    -sriram


    Sriram Guest

Similar Threads

  1. working with dropdown lists
    By trtouslee in forum Dreamweaver AppDev
    Replies: 0
    Last Post: February 27th, 03:18 AM
  2. Dropdown lists navigation
    By IIJohn webforumsuser@macromedia.com in forum Macromedia Director Basics
    Replies: 2
    Last Post: October 13th, 11:54 PM
  3. Dropdown lists navigation2
    By IIJohn webforumsuser@macromedia.com in forum Macromedia Director Basics
    Replies: 0
    Last Post: September 25th, 10:44 AM
  4. sorting property lists
    By Steve Paulson in forum Macromedia Director Lingo
    Replies: 0
    Last Post: August 13th, 05:36 PM
  5. dropdown lists - query parameter error
    By KathyB in forum ASP.NET General
    Replies: 1
    Last Post: June 26th, 06:59 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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