Build failure after binding ListBox to DataSource

  • Thread starter Thread starter RichardDunneBSc
  • Start date Start date
R

RichardDunneBSc

Guest
I have a Forms project with three forms, Form1,Form2,Form3. I set a DataSource for a ListBox in Form3, a column in an sql server table, set the DisplayMember to the column name. Build fails

Data type 'ColumnName' does not exist in the type Form1

Data type ColumnNameTableAdapters' does not exist in the type Form1.

These errors repeat once. No idea why the build errors say Form1 if the ListBox is in Form3.

Continue reading...
 
Back
Top