A
Arjen
Hello,
Can somebody please help me with this?
I have a hashtable which I converted to a datatable with "key" and "value"
as column names.
I also have a windows form with two datagrids.
Now I want to fill datagrid 1 with the datatable, but I only want to see the
"value" column.
The user may select (double click) one recod inside this datagrid, I want to
know the value inside the "Key" column of the selected column. Remember, the
column "Key" you cannot see on the screen.
Thats it!
Can somebody show me how to connect the datatable to the datagrid?
How to hide the "Key" column?
How to retriev the selected record with the value of that "Key" column?
Can you give me some sample code?
Thanks!
Arjen
Can somebody please help me with this?
I have a hashtable which I converted to a datatable with "key" and "value"
as column names.
I also have a windows form with two datagrids.
Now I want to fill datagrid 1 with the datatable, but I only want to see the
"value" column.
The user may select (double click) one recod inside this datagrid, I want to
know the value inside the "Key" column of the selected column. Remember, the
column "Key" you cannot see on the screen.
Thats it!
Can somebody show me how to connect the datatable to the datagrid?
How to hide the "Key" column?
How to retriev the selected record with the value of that "Key" column?
Can you give me some sample code?
Thanks!
Arjen