G
Guest
Visual Studio 2003 .Net C#
I have a DataGrid showing my Job table. Some of the fields in this table
are ID's linking to other tables for the displayable value. i.e. I store the
ID 1003 in the Job.JobStatus field, which links to the JobStatus table, which
holds this ID and a Description such as "Complete". In the DataGrid I want
to go get this value and show that description rather than the ID field.
What is the best way of doing this kind of thing? At the moment my DataGrid
is bound to a Typed DataSet for the Job table. Should I have created some
kind of bespoke DataSet for this datagrid, and populate it when this screen
loads?
Thanks
Ste
I have a DataGrid showing my Job table. Some of the fields in this table
are ID's linking to other tables for the displayable value. i.e. I store the
ID 1003 in the Job.JobStatus field, which links to the JobStatus table, which
holds this ID and a Description such as "Complete". In the DataGrid I want
to go get this value and show that description rather than the ID field.
What is the best way of doing this kind of thing? At the moment my DataGrid
is bound to a Typed DataSet for the Job table. Should I have created some
kind of bespoke DataSet for this datagrid, and populate it when this screen
loads?
Thanks
Ste