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

Forum statistics

Threads
473,744
Messages
2,569,480
Members
44,900
Latest member
Nell636132

Latest Threads

Top