﻿<?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 » Business Objects and Data Access (How do I?)  » Populating a ComboBox</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 04:14:09 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Populating a ComboBox</title><link>http://forum.strataframe.net/FindPost27345.aspx</link><description>Thank you Charles!</description><pubDate>Tue, 08 Jun 2010 16:03:40 GMT</pubDate><dc:creator>balexander</dc:creator></item><item><title>Populating a ComboBox</title><link>http://forum.strataframe.net/FindPost22851.aspx</link><description>Hi,&lt;P&gt;I am a total newbie to StrataFrame and I'm trying to write a simple WInForm app. I have a maintaenance form on which I have placed 2 BO's. A secondary BO is used to populate a combobox. I have set the combo properties as have been described in the Tutorial but using my database and my combo is empty. I'm not quite sure where to look next. Also I would like to display text in the item data and an identifier for the valuemember property, but I cannot find any documentation. &lt;/P&gt;&lt;P&gt;Could anyone advise,&lt;/P&gt;&lt;P&gt;Many thanks.</description><pubDate>Tue, 08 Jun 2010 16:03:40 GMT</pubDate><dc:creator>Ian Hammond</dc:creator></item><item><title>RE: Populating a ComboBox</title><link>http://forum.strataframe.net/FindPost27306.aspx</link><description>The sample uses the Strataframe Sample database.  You first need to open the BO Mapper from the SF menu, create a project ( just call it the name of the sample) and say it uses SQL Server and point to the SF Sample.&lt;br&gt;
&lt;br&gt;
Then map the three tables in the BOLibrary proj to the three tables in the SF Sample database, click Rebuild all and close.  &lt;br&gt;
&lt;br&gt;
Build the bo library1 proj and then run the app.  First time you'll select the SF Sample database again and then you should be good to go.&lt;br&gt;
&lt;br&gt;
BO mapper stuff is stored in your local SF database so it did not travel with the sample when it was posted.  &lt;br&gt;
&lt;br&gt;
Now your SF database has the mapping info for this project's BOs</description><pubDate>Fri, 04 Jun 2010 12:51:58 GMT</pubDate><dc:creator>Charles R Hankey</dc:creator></item><item><title>RE: Populating a ComboBox</title><link>http://forum.strataframe.net/FindPost27305.aspx</link><description>I don't know if it's because we're running StrataFrame 1.7 or what, but I get 31 errors in the sample combobox project of:&lt;/P&gt;&lt;P&gt;[codesnippet]Argument not specified for parameter 'propertyType' of 'Public Sub New(fieldName As String, propertyType As System.Type)'.[/codesnippet]&lt;/P&gt;&lt;P&gt;On all the&amp;nbsp;My.New("") methods in the CustomerBO.Designer.vb file.</description><pubDate>Fri, 04 Jun 2010 10:44:55 GMT</pubDate><dc:creator>balexander</dc:creator></item><item><title>RE: Populating a ComboBox</title><link>http://forum.strataframe.net/FindPost22854.aspx</link><description>You will have to create a new solution and add the classes into that project.&amp;nbsp; All samples that we produce at this point are in VS2008.&amp;nbsp; If you are a member of MSDN then you can go online and download this.&amp;nbsp; I would highly recommend moving over to VS2008 as it is a far better IDE and will make your transition forward easier.</description><pubDate>Wed, 22 Apr 2009 10:43:04 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Populating a ComboBox</title><link>http://forum.strataframe.net/FindPost22853.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;Many thanks for the reply. I am currently using VS2005 which won't load up the samp,e project. Is there an earlier version available. Many thanks again,</description><pubDate>Wed, 22 Apr 2009 10:35:24 GMT</pubDate><dc:creator>Ian Hammond</dc:creator></item><item><title>RE: Populating a ComboBox</title><link>http://forum.strataframe.net/FindPost22852.aspx</link><description>Hi Ian and welcome to the group.&lt;br&gt;
&lt;br&gt;
There are many ways to populate a combobox, in your case you want to use a BO, basically what you do is in the BO that will populate the data for the combobox you create a Fill method that will get the data needed for the BO, then use the Combobox's PopulationDataSourceSettings to setup the BO and the method that you create to populate it.  There are some sample for this in several messages in the forums.  &lt;br&gt;
&lt;br&gt;
I am attaching a sample posted by Trent (I think) which shows several ways of populating comboboxes.&lt;br&gt;</description><pubDate>Wed, 22 Apr 2009 10:13:16 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item></channel></rss>