Populating the grid using a Hashtable of Hashtables

  • Thread starter Sheikh Nabeel Moeen
  • Start date
S

Sheikh Nabeel Moeen

whats the easiest way to populate a DataGrid using a Hashtable which itself
is a collection of Hashtables.


e.g.
Hashtable h = new Hashtable();

for (int i = 0; i < 5; i++)
{
Hashtable h2 = new Hashtable();
h2.Add("Key1", "!");
h.Add(i, h2);
}

now i want to bind the datagrid to the hashtable "h"

Thanx in advance
 

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

Members online

No members online now.

Forum statistics

Threads
474,266
Messages
2,571,082
Members
48,773
Latest member
Kaybee

Latest Threads

Top