DataGrid alterations...
-
I have a DataGrid bound to source. The source table has a column that contains status numbers (integers), and the dataGrid shows these numbers. I have another table in the database which associates these numbers with a string. Does anyone know of a way I can make the dataGrid show the associated string (from the other table) instead of the numbers in the current table? -- James --
-
I have a DataGrid bound to source. The source table has a column that contains status numbers (integers), and the dataGrid shows these numbers. I have another table in the database which associates these numbers with a string. Does anyone know of a way I can make the dataGrid show the associated string (from the other table) instead of the numbers in the current table? -- James --
Add next table to the DataSet with Your dictionary and create relation into it. See Expression property of DataColumn. It can do this association. Hi, AW
-
I have a DataGrid bound to source. The source table has a column that contains status numbers (integers), and the dataGrid shows these numbers. I have another table in the database which associates these numbers with a string. Does anyone know of a way I can make the dataGrid show the associated string (from the other table) instead of the numbers in the current table? -- James --
Why don't you make a "Select" Query with a join and create a DataTable in memory to display it on the grid ? HTH Braulio
-
Why don't you make a "Select" Query with a join and create a DataTable in memory to display it on the grid ? HTH Braulio