Possible bug using BBS to fill a combo in a DataGridView


Author
Message
Juan Carlos Pazos
Juan Carlos Pazos
StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)
Group: Forum Members
Posts: 144, Visits: 227
Hi

Maybe this a bug, or my form has a problem.

I create a form and use a BBS to link to the primary BO for the form, then I put a DataGridView an connect to the BBS without problems.

As one value in the grid is the company id (IdCompany), I add another BO (for the companies) and other BBS for tha BO. Then in the Grid I adjust for the IdCompany the column type as ComboBoxColumn, DataSource to the second BBS (the one related to the companies BO), the DisplayMember to the field that has de company name and the ValueMember to the IdCompany.

Run the application and works. If I do any change to the form, for example I have a BrowseDialog and I make any change, when run the app, the system gets an error regarding that can not find the name of the field for the DisplayMember in the combo.

I back to the Grid, change the DisplayMember to any other field and the app runs, the I have to change again to the company name again to get all working.

Is this a bug or is somethin I doing wrong?

Regards

Smile Everything is possible, just keep trying...

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search