Sorting data in Listbox/Dropdown lists

Ask a Question related to ASP.NET General, Design and Development.

  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. Similar Questions and Discussions

    1. working with dropdown lists
      I appologize for what is probably a very novice question. I am creating dropdown lists for an online store. The purpose of the list is to choose a...
    2. Dropdown lists navigation
      Hi Sven, Unfortunately I never got this to work, because I went round in circles for a while and ran out of time. However, I did find a way round,...
    3. Dropdown lists navigation2
      Hi everybody, I'm trying to make Dropdown list in my presentation according to previous topic about Dropdown menu but without the success. The goal...
    4. sorting property lists
      I have a property list like name::bob, address: 102 house st, phone, 49349349 I know if I do list.(sort) it will sort on the first field, but is...
    5. Filtering by dropdown combo listbox
      I have a form based on a table. I would like to set the filter by the selection of a user in a combo box dropdown list. Anyone know how do to...
  3. #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 (documentation confirms this).

    Todd Thompson
    Todd Thompson Guest

  4. #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

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