I want to present a Hshtable data in a DataGridView table.
How do i do that ?

i tried the following , but nothing happens is presented :


Hashtable ht = new Hashtable();

ht.Add(1, 5);

ht.Add(2, 3);




dataGridView1.SelectionMode = DataGridViewSelectionMode.FullRowSelect;

dataGridView1.AutoGenerateColumns = true;

dataGridView1.DataSource = ht;


please help...