No.
You can either use a SortedList (which'll sort on the key), create your own
datatable, or put the keys in an array and use Array.Sort()
Karl
--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"vinay" <> wrote in message
news:C7351836-9C41-4BB3-95A4-...
> Karl
> Is there a way to Sort HashTable??
>
> Thanks
> --
> http://pathidotnet.blogspot.com
> =====
> vInAypAtHi
> o__
> ---_,>/'_------
> (_) \(_)
> ---------------
>
>
> "Karl Seguin" wrote:
>
>> Yes, you can bind it.
>>
>> Why not just try?
>>
>> Two values will be exposed, the "Key" and the "Value"
>>
>> DataBinder.Eval(Container.DataItem, "Key")
>>
>>
>> karl
>>
>> --
>> MY ASP.Net tutorials
>> http://www.openmymind.net/ - New and Improved (yes, the popup is
>> annoying)
>> http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
>> come!)
>>
>>
>> "vinay" <> wrote in message
>> news:A9ACA6F9-E5DB-4C1C-B85D-...
>> >I am getting the data in a HashTable.
>> >
>> > Q ..
>> >
>> > Can i bind Hashtable to Datagrid ??
>> >
>> > If not..
>> > To which object the HashTable should be converted so i can bind it to
>> > DataGrid ??
>> >
>> > Thanks
>> > --
>> > http://pathidotnet.blogspot.com
>> > =====
>> > vInAypAtHi
>> > o__
>> > ---_,>/'_------
>> > (_) \(_)
>> > ---------------
>>
>>
>>