P
plmanikandan
Hi,
I am using .net framework2.0,Visual Studio 2005.I need to bind the hash
table to datagridview.Is it possible
I am having class Person
class person
{
public int no;
public string name;
}
person a=new person();
a.no=100;
a.name="ffg";
I need to add obj a as both key and value
Hashtable ht = new Hashtable();
ht.add(a,a);
dataGridView1.DataSource = ht;
When I bind the Hashtable to datagridview,it is not showing anything in
datagridview.Is it possible to bind Hashtable to datagridview.Kindly
provide me the steps to bind hashtable to datagridview.
Regards,
Manikandan
I am using .net framework2.0,Visual Studio 2005.I need to bind the hash
table to datagridview.Is it possible
I am having class Person
class person
{
public int no;
public string name;
}
person a=new person();
a.no=100;
a.name="ffg";
I need to add obj a as both key and value
Hashtable ht = new Hashtable();
ht.add(a,a);
dataGridView1.DataSource = ht;
When I bind the Hashtable to datagridview,it is not showing anything in
datagridview.Is it possible to bind Hashtable to datagridview.Kindly
provide me the steps to bind hashtable to datagridview.
Regards,
Manikandan