HashTable

G

Guest

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__
---_,>/'_------
(_) \(_)
---------------
 
K

Karl Seguin

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
 
K

Karl Seguin

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Hashtable 3
LastIndexOf 3
Q 2
Datagrid Paging 1
FileStream 2
How to sort a datagrid binded to an HashTable? 1
reg 1
Browser Compatiablity 4

Members online

No members online now.

Forum statistics

Threads
473,733
Messages
2,569,440
Members
44,831
Latest member
HealthSmartketoReviews

Latest Threads

Top