I have a datagrid control that is populated from a dataset and I only show the values the user needs to see instead of all values in the dataset. What I want to achieve is return a value from the dataset that is not shown in the datagrid, but is tied to the record selected in the datagrid. The value I want is the primary key of a table that is in the dataset, but not shown in the datagrid. The primary key is the only additional value in the dataset that is not shown in the datagri. I want to use the primary key to look up data in another table. I am not sure if I am going about this the correct way. Please let me know and give me a code sample if possible.
Thanks,
Tom
Thanks,
Tom