﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Issues  » Possible bug using BBS to fill a combo in a DataGridView</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Fri, 29 May 2026 14:55:19 GMT</lastBuildDate><ttl>20</ttl><item><title>Possible bug using BBS to fill a combo in a DataGridView</title><link>http://forum.strataframe.net/FindPost17452.aspx</link><description>Hi&lt;/P&gt;&lt;P&gt;Maybe this a bug, or my form has a problem.&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;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&amp;nbsp;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.&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;Is this a bug or is somethin I doing wrong?&lt;/P&gt;&lt;P&gt;Regards</description><pubDate>Tue, 01 Jul 2008 09:38:50 GMT</pubDate><dc:creator>Juan Carlos Pazos</dc:creator></item><item><title>RE: Possible bug using BBS to fill a combo in a DataGridView</title><link>http://forum.strataframe.net/FindPost17487.aspx</link><description>I thought that this would work so I created a sample program and it works as it should.&amp;nbsp; It would appear that your ValueMember field and the underlying value behind it doesn't line up with the grids column to which you are binding.&lt;/P&gt;&lt;P&gt;I created a sample using the StrataFrameSample database and you will see that it populates and updates correctly.&amp;nbsp; Hopefully this will help you see where your problem is.</description><pubDate>Tue, 01 Jul 2008 09:38:50 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Possible bug using BBS to fill a combo in a DataGridView</title><link>http://forum.strataframe.net/FindPost17478.aspx</link><description>Hi Peter&lt;/P&gt;&lt;P&gt;Camtasia Studio, (&lt;A href="http://www.techsmith.com/camtasia.asp"&gt;http://www.techsmith.com/camtasia.asp&lt;/A&gt;) it's very easy did a video like I did, only a few minutes and clicks. Of course you can make many more complex with more time.&lt;/P&gt;&lt;P&gt;I have DevExpress too, if I use their Grid, can I configure the combo as I did with the MS Grid? If is different can you give some directions to do it.&lt;/P&gt;&lt;P&gt;Regards</description><pubDate>Mon, 30 Jun 2008 18:41:58 GMT</pubDate><dc:creator>Juan Carlos Pazos</dc:creator></item><item><title>RE: Possible bug using BBS to fill a combo in a DataGridView</title><link>http://forum.strataframe.net/FindPost17477.aspx</link><description>Hi Juan,&lt;/P&gt;&lt;P&gt;I can't help with your problem (we use DevExpress for all UI work) what I am interesting in is what tool did you use to record the video?&lt;/P&gt;&lt;P&gt;Cheers, Peter</description><pubDate>Mon, 30 Jun 2008 17:48:43 GMT</pubDate><dc:creator>Peter Jones</dc:creator></item><item><title>RE: Possible bug using BBS to fill a combo in a DataGridView</title><link>http://forum.strataframe.net/FindPost17465.aspx</link><description>Hi&lt;/P&gt;&lt;P&gt;I made a video, hope it helps.&lt;/P&gt;&lt;P&gt;In the video you will see how I define a combo for the Grid and configure the properties for the field, next I run the application and you will see that works. Then I made a change to the Grid - the problem occurs if any change is made to any object of the form -, after that run the application again and the error comes up. Next I go back to the Grid, change the field to show in the combo and again it works, finally I go bak to the form reestablish the combo in the Grid to the correct field.&lt;/P&gt;&lt;P&gt;As I said, I don't know if is a problem that happens by some error in my application, a bug in the GridView of MS or something related to the StrataFrame.&lt;/P&gt;&lt;P&gt;It's it not to much problem,&amp;nbsp;I learn that if I define all events, properties, code in the form first and left to final configure the combo in the Grid it will not be any problem.&lt;/P&gt;&lt;P&gt;The video is in: &lt;A href="http://www.vidacristiana.org.mx/strataframe/BBS_bug.html"&gt;http://www.vidacristiana.org.mx/strataframe/BBS_bug.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards</description><pubDate>Sun, 29 Jun 2008 20:30:54 GMT</pubDate><dc:creator>Juan Carlos Pazos</dc:creator></item><item><title>RE: Possible bug using BBS to fill a combo in a DataGridView</title><link>http://forum.strataframe.net/FindPost17456.aspx</link><description>Whenever you get an error and you would like help in diagnosing your problem, please post the stack trace of the error that you are getting.&amp;nbsp; This does, however, sound more likely to be an application bug not a framework issue.&amp;nbsp; Before we can help you will need to post the stack trace and/or a quick sample showing how to reproduce the problem.&amp;nbsp; Thanks.</description><pubDate>Sun, 29 Jun 2008 11:14:18 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>