﻿<?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 » WinForms (How do I?)  » Unable to populate strataframe listview</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 03:12:53 GMT</lastBuildDate><ttl>20</ttl><item><title>Unable to populate strataframe listview</title><link>http://forum.strataframe.net/FindPost18855.aspx</link><description>Hello All.&lt;/P&gt;&lt;P&gt;I created a business object to retrieve all the lookup categories in my lookup_hdr table called BOLookupCategories. It has a method called GetAllCategories with this code:&lt;/P&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;public&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;void&lt;/FONT&gt;&lt;FONT size=2&gt; GetAllCategories()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;SqlCommand&lt;/FONT&gt;&lt;FONT size=2&gt; loCommand = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;SqlCommand&lt;/FONT&gt;&lt;FONT size=2&gt;();&lt;/P&gt;&lt;P&gt;loCommand.CommandType = &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;CommandType&lt;/FONT&gt;&lt;FONT size=2&gt;.StoredProcedure;&lt;/P&gt;&lt;P&gt;loCommand.CommandText = &lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;"prcGetLupHdr"&lt;/FONT&gt;&lt;FONT size=2&gt;;&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;this&lt;/FONT&gt;&lt;FONT size=2&gt;.FillDataTable(loCommand);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;I then dropped a strataframe listview on to my windows form and set its properties as follows:&lt;/P&gt;&lt;P&gt;BusinessObjectType: BOLookupCategories&lt;/P&gt;&lt;P&gt;Method to Execute: GetAllCategories()&lt;/P&gt;&lt;P&gt;Tag Field: luphdr_pk&lt;/P&gt;&lt;P&gt;When I run the form, my listview shows up empty. No errors. When I step through the code, it shows me that my business object is getting populated. This should be dead simple. So what stupid thing am I doing wrong?&lt;/P&gt;&lt;P&gt;TIA.&lt;/P&gt;&lt;P&gt;Marcia&lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Tue, 02 Sep 2008 09:56:47 GMT</pubDate><dc:creator>Marcia G Akins</dc:creator></item><item><title>RE: Unable to populate strataframe listview</title><link>http://forum.strataframe.net/FindPost18898.aspx</link><description>The .dlls will show that since we haven't moved to "Production" in the build yet. But it is the 1.6.6 release :).</description><pubDate>Tue, 02 Sep 2008 09:56:47 GMT</pubDate><dc:creator>Dustin Taylor</dc:creator></item><item><title>RE: Unable to populate strataframe listview</title><link>http://forum.strataframe.net/FindPost18876.aspx</link><description>Hi Ivan,&lt;/P&gt;&lt;P&gt;Yes, suppose to be, but when installed, what I get as a version is&amp;nbsp; 1.6.5.3, what version does the SF shows for you?&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/e9b3e5de-fdb7-462d-9815-8017.png"&gt;</description><pubDate>Mon, 01 Sep 2008 10:43:13 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Unable to populate strataframe listview</title><link>http://forum.strataframe.net/FindPost18869.aspx</link><description>Hey Edhy!&lt;/P&gt;&lt;P&gt;Just clarifying... isn't it 1.6.6 the latest beta released?</description><pubDate>Mon, 01 Sep 2008 07:30:12 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Unable to populate strataframe listview</title><link>http://forum.strataframe.net/FindPost18860.aspx</link><description>Hi Marcia,&lt;/P&gt;&lt;P&gt;Even though you will not be using a ListView, I think what you may have missed is the PopulateOnFormLoad value of the listview and you will need at some point to requery the listview to show the data.&lt;/P&gt;&lt;P&gt;Take a look at the StrataFlix sample application in the sample forums to see a couple of sample of how to use the ListView properly.&amp;nbsp; Also make sure you are running the latest beta 1.6.5.3 posted in the Released forum, it is pretty stable and have many enhancements for the ListView.</description><pubDate>Sat, 30 Aug 2008 21:13:44 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Unable to populate strataframe listview</title><link>http://forum.strataframe.net/FindPost18857.aspx</link><description>Never mind - I gave up and decided to use a combo box instead and I have that working.&lt;/P&gt;&lt;P&gt;Thanks anyway</description><pubDate>Sat, 30 Aug 2008 16:32:25 GMT</pubDate><dc:creator>Marcia G Akins</dc:creator></item></channel></rss>