EDN Admin
Well-known member
I am creating a PC VB.Net application to program an EEPROM on an alarm system I am building. I have 2 datagridviews being filled from different tables in an Access Database. For this example, theyre called DataGridView1 and DataGridView2.
In DataGridView1 there are three columns with the properties stated:
1. Location (hidden column)
2. Description (read only)
3. Data (64 characters max)
In DataGridView2 I have the following columns:
1. SAFE Address
2. Device Number
3. Zone
But, in DataGridView 2 I want a fourth column to be the data column from DataGridView1, just for display purposes because it makes it easier to identify the device details in the grid.
I initially thought it was possible to use different data sources for different columns, but I cannot even find examples of this, or any ways to just get a specific column from this different source.
I am very new to VB and this is a steep learning curve! I have tried to use this example but havent had any luck in even understanding it.
Looking for working code if anyone can provide?
View the full article