DataGridView

R

Rich

I'm using a DataGridView to display unbound data, and it works great.
However, I need to display descriptive data from a related table (one
to many). If possible, I want to put the lookup table inside a
column.

Any thoughts on how to approach this?

Thanks
 
C

Cowboy \(Gregory A. Beamer\)

To get the data configured, you can do this with a DataSet with multiple
tables. This does not work easily with the DataSource drag and drop
methodology, however. Dino Esposito has some of the best MSDN articles on
working with data binding, if you go this route.

You can also customize the output in the Row databinding event and put
anything you want out. I would still consider grabbing both tables of data,
or at least grab the related table and use RowFilter to limit the output of
each row's related records.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

*************************************************
| Think outside the box!
|
*************************************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top