Live Chat Icon For mobile
Live Chat Icon

I want to do sort of a database join of two tables. How can I use data from two DataTables in a single DataGrid

Platform: WinForms| Category: Datagrid

Take a look at this Microsoft KB article, HOW TO: Extend the Windows Form DataGridTextBoxColumn to Display Data From Other Tables (C#,VB). It subclasses a DataGridColumnStyle and overrides GetColumnValueAtRow, Commit and ReadOnly to implement this behavior.

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.