﻿<?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?)  » ListView Problems</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Mon, 29 Jun 2026 17:12:29 GMT</lastBuildDate><ttl>20</ttl><item><title>ListView Problems</title><link>http://forum.strataframe.net/FindPost24710.aspx</link><description>Hi All.&lt;/P&gt;&lt;P&gt;This should be dead simple - I have a BO called boAllPeople with a data access method called GetAllPeople():&lt;/P&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;public&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;void&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; GetAllPeople()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;SqlCommand&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; loCommand = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;SqlCommand&lt;/FONT&gt;&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;&lt;FONT color=#2b91af size=2&gt;CommandType&lt;/FONT&gt;&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;&lt;FONT color=#a31515 size=2&gt;"prcListAllPeople"&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;;&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;this&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;.FillDataTable(loCommand);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;Here is the code in prcListAllPeople:&lt;/P&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;&lt;P&gt;ALTER&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;PROCEDURE&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; [dbo]&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&lt;FONT color=#808080 size=2&gt;.&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;[prcListAllPeople]&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;&lt;P&gt;AS&lt;/P&gt;&lt;P&gt;BEGIN&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;TRY&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;DECLARE&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; @RetVal &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;INT&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;SET&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; @RetVal &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&lt;FONT color=#808080 size=2&gt;=&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; 1&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;SELECT&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; first_nme&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&lt;FONT color=#808080 size=2&gt;,&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; last_nme&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&lt;FONT color=#808080 size=2&gt;,&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; contact_dtl&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&lt;FONT color=#808080 size=2&gt;,&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; people_id&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;FROM&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; dbo&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&lt;FONT color=#808080 size=2&gt;.&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;vw_AllPeople&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;ORDER&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;BY&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; last_nme&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&lt;FONT color=#808080 size=2&gt;,&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; First_nme&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;&lt;P&gt;END&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;TRY&lt;/P&gt;&lt;P&gt;BEGIN&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;CATCH&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;&lt;FONT color=#008000 size=2&gt;/* Get the details of the error*/&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;EXEC&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; prcLogError&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;SET&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; @RetVal &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&lt;FONT color=#808080 size=2&gt;=&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&lt;FONT color=#808080 size=2&gt;-&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;1&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;&lt;P&gt;END&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;CATCH&lt;/P&gt;&lt;P&gt;IF&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; @RetVal &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&lt;FONT color=#808080 size=2&gt;&amp;lt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt; 0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;BEGIN&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;DECLARE&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; @ErrText &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;VARCHAR&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&lt;FONT color=#808080 size=2&gt;(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;1000&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&lt;FONT color=#808080 size=2&gt;)&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;SET&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; @ErrText &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&lt;FONT color=#808080 size=2&gt;=&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;&lt;FONT color=#ff0000 size=2&gt;'Unable to Retrieve People List'&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;RAISERROR&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&lt;FONT color=#808080 size=2&gt;(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; @ErrText&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&lt;FONT color=#808080 size=2&gt;,&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; 16&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&lt;FONT color=#808080 size=2&gt;,&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; 1 &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&lt;FONT color=#808080 size=2&gt;)&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;END&lt;/P&gt;&lt;P&gt;RETURN&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt; @RetVal&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;There are no records in my error_log table.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;This is how my listview is configured&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;Columns collection has 3 columns: 1 for first name, last name and primary phone.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;PopulationDataSource = boAllPeople.GetAllPeople()&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#000000&gt;Display fields are&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#000000&gt;{0} - last_nme&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#000000&gt;{1} - first_nme&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#000000&gt;{2} - contact_dtl&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#000000&gt;Tag is people_id&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#000000&gt;Columns are the same as what is in the columns collection and population type is formatted string.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#000000&gt;PopulateOnFormLoad = FormLoad&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#000000&gt;I have verified that the view does have a record in it. However, when my form comes up, the list view contains the column headings in the first row where the single record in the view should be. &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#000000&gt;Can anyone tell me what I am doing wrong?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#000000&gt;Thanks!&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;</description><pubDate>Fri, 25 Sep 2009 11:20:55 GMT</pubDate><dc:creator>Marcia G Akins</dc:creator></item><item><title>RE: ListView Problems</title><link>http://forum.strataframe.net/FindPost24726.aspx</link><description>Inherited UI is for DevExpress controls.  If you are not using DevExpress then you do not need to build this assembly.  Otherwise, you need to change the references of this project to match your current DevExpress version.</description><pubDate>Fri, 25 Sep 2009 11:20:55 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: ListView Problems</title><link>http://forum.strataframe.net/FindPost24725.aspx</link><description>&lt;EM&gt;Next, get out of Visual Studio, go back in. You should now be able to step into the SF source. Let me know if that doesn't get you going. &lt;IMG title=Smile src="http://forum.strataframe.net/Skins/Classic/Images/EmotIcons/Smile.gif" align=absMiddle border=0&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I couldn't build Inherited UI - I got 103 errors and 11 warnings. Got out of VS and went back in - still cannot step through framework code :(</description><pubDate>Fri, 25 Sep 2009 11:13:17 GMT</pubDate><dc:creator>Marcia G Akins</dc:creator></item><item><title>RE: ListView Problems</title><link>http://forum.strataframe.net/FindPost24724.aspx</link><description>&lt;EM&gt;To step through the framework code, simply open up the source code and build it in debug mode.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;When I try to Rebuild Inherited UI I get 102 errors and 11 warnings.</description><pubDate>Fri, 25 Sep 2009 11:07:58 GMT</pubDate><dc:creator>Marcia G Akins</dc:creator></item><item><title>RE: ListView Problems</title><link>http://forum.strataframe.net/FindPost24723.aspx</link><description>No problem.  Glad it helped :)</description><pubDate>Fri, 25 Sep 2009 10:59:09 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: ListView Problems</title><link>http://forum.strataframe.net/FindPost24722.aspx</link><description>&lt;EM&gt;Next, get out of Visual Studio, go back in. You should now be able to step into the SF source. Let me know if that doesn't get you going. &lt;IMG title=Smile src="http://forum.strataframe.net/Skins/Classic/Images/EmotIcons/Smile.gif" align=absMiddle border=0&gt;&lt;/EM&gt; &lt;/P&gt;&lt;P&gt;Thanks. Yer a peach!</description><pubDate>Fri, 25 Sep 2009 10:58:16 GMT</pubDate><dc:creator>Marcia G Akins</dc:creator></item><item><title>RE: ListView Problems</title><link>http://forum.strataframe.net/FindPost24720.aspx</link><description>To step through the framework code, simply open up the source code and build it in debug mode.  The AfterBuild.bat should move these assemblies into the GAC for you (but you can double check if you do not see it in the Output window).&lt;br&gt;
&lt;br&gt;
Next, get out of Visual Studio, go back in.  You should now be able to step into the SF source.  Let me know if that doesn't get you going. :)</description><pubDate>Fri, 25 Sep 2009 10:24:20 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: ListView Problems</title><link>http://forum.strataframe.net/FindPost24719.aspx</link><description>Hi Charles.&lt;/P&gt;&lt;P&gt;Thanks for trying to help me - I just fidured out what the peoblem was - it was the loose nut behind the keyboard having a senior moment. I can't even tell you&amp;nbsp;what I did because it was so freaking stupid that I would be embarrassed to death :blush:&lt;/P&gt;&lt;P&gt;Now if I could just figure out how to step through the framework code again all would be well :)</description><pubDate>Fri, 25 Sep 2009 10:22:04 GMT</pubDate><dc:creator>Marcia G Akins</dc:creator></item><item><title>RE: ListView Problems</title><link>http://forum.strataframe.net/FindPost24718.aspx</link><description>Hi Charles.&lt;/P&gt;&lt;P&gt;At least this time something new happened. I got an error:&lt;/P&gt;&lt;P&gt;ArgumentException&lt;BR&gt;&amp;nbsp; Object of type 'TGIF.BusinessObject.boAllPeople' cannot be converted to type 'System.Data.DataTable'.&lt;/P&gt;&lt;P&gt;Source&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : mscorlib&lt;/P&gt;&lt;P&gt;Stack Trace: &lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.RuntimeType.CheckValue(Object value, Binder binder, CultureInfo culture, BindingFlags invokeAttr)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Reflection.MethodBase.CheckArguments(Object[] parameters, Binder binder, BindingFlags invokeAttr, CultureInfo culture, Signature sig)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.UI.Windows.Forms.ListView.GetFilledBusinessObject(Object[] Parameters)&lt;BR&gt;</description><pubDate>Fri, 25 Sep 2009 10:07:44 GMT</pubDate><dc:creator>Marcia G Akins</dc:creator></item><item><title>RE: ListView Problems</title><link>http://forum.strataframe.net/FindPost24717.aspx</link><description>&lt;EM&gt;Anyway, I'd check the listpopulating handler and the lv.requery()&lt;BR&gt;&lt;BR&gt;(the lv for the code I posted has a PopulationDataSourceSetting = CopyDataFrom(Businesslayer,BusinessCloneDataType)&lt;BR&gt;&lt;BR&gt;HTH&lt;BR&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;As I said, I tried that already and still no joy :(&lt;/P&gt;&lt;P&gt;Any ideas about what I need to do in order to step though the framewwwork code. I appear to have lost that ability after upgrading.</description><pubDate>Fri, 25 Sep 2009 10:01:45 GMT</pubDate><dc:creator>Marcia G Akins</dc:creator></item><item><title>RE: ListView Problems</title><link>http://forum.strataframe.net/FindPost24716.aspx</link><description>The part that confused me was realizing the listview is not bound to the bo currentview but rather has its own internal data store.  So, if you load data in the BO, then yoiu need to requery the LV - and that means handling the listpopulating event which needs to know the BO and the method (usually cloning/copying from bo) for getting data from bo to LV.&lt;br&gt;
&lt;br&gt;
Anyway, I'd check the listpopulating handler and the lv.requery()&lt;br&gt;
&lt;br&gt;
(the lv for the code I posted has a PopulationDataSourceSetting = CopyDataFrom(Businesslayer,BusinessCloneDataType)&lt;br&gt;
&lt;br&gt;
HTH&lt;br&gt;
&lt;br&gt;
Hi to Andy.  when you get time check out my thing under User Contributed samples re passing in datatable as a param to a sproc - I bet you and Andy will have some useful insights into that )&lt;br&gt;</description><pubDate>Fri, 25 Sep 2009 09:52:58 GMT</pubDate><dc:creator>Charles R Hankey</dc:creator></item><item><title>RE: ListView Problems</title><link>http://forum.strataframe.net/FindPost24715.aspx</link><description>&lt;EM&gt;After filling the BO, call the listview.requery() and that should do it.&lt;/EM&gt;&lt;BR&gt;&lt;/P&gt;&lt;P&gt;I changed the PopulateOnFormLoad property to Manual and added your code and still no joy. If I could just step through the framework code I know I would be able to figure this out :w00t:</description><pubDate>Fri, 25 Sep 2009 09:50:58 GMT</pubDate><dc:creator>Marcia G Akins</dc:creator></item><item><title>RE: ListView Problems</title><link>http://forum.strataframe.net/FindPost24714.aspx</link><description>Hi Charles &lt;/P&gt;&lt;P&gt;&lt;EM&gt;If you are sure the BO has a record in it, you probably are not handling the listpopulating event of the listview - or not requerying it after filling the BO (this was a hard one for me to wrap my brain around)&lt;BR&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I set the ListView's PopulateOnLoad property to FormLoad. The documentation says that this automagically populates the list when the form loads. I have another ListView used in a different project set up exacrly the same way and it works fine. Just for grin and giggles, I tried substituting a ListBox - no joy - same behavior.&lt;/P&gt;&lt;P&gt;One of my problems is that ever since I upgraded to version 1.0.7.1, I can no longer step throught he framework source code, so I am having even bigger problems trying to figure out what is wrong. If I could get that problem resolved, I could probabaly figure this one out too :(&lt;EM&gt;&lt;/P&gt;&lt;/EM&gt;</description><pubDate>Fri, 25 Sep 2009 09:34:23 GMT</pubDate><dc:creator>Marcia G Akins</dc:creator></item><item><title>RE: ListView Problems</title><link>http://forum.strataframe.net/FindPost24712.aspx</link><description>If you are sure the BO has a record in it, you probably are not handling the listpopulating event of the listview - or not requerying it after filling the BO (this was a hard one for me to wrap my brain around)&lt;br&gt;
&lt;br&gt;
[codesnippet]    Private Sub slvpdfs_ListPopulating(ByVal e As MicroFour.StrataFrame.UI.ListPopulatingEventArgs) Handles slvPDFs.ListPopulating&lt;br&gt;
        e.Parameters(0).Value = Me.StaticPDFsBO1&lt;br&gt;
        e.Parameters(1).Value = MicroFour.StrataFrame.Business.BusinessCloneDataType.ClearAndFillFromCompleteTable&lt;br&gt;
    End Sub[/codesnippet]&lt;br&gt;
&lt;br&gt;
After filling the BO, call the listview.requery() and that should do it.&lt;br&gt;</description><pubDate>Fri, 25 Sep 2009 09:24:46 GMT</pubDate><dc:creator>Charles R Hankey</dc:creator></item></channel></rss>