Unable to populate strataframe listview


Author
Message
Marcia G Akins
Marcia G Akins
StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)
Group: StrataFrame Users
Posts: 322, Visits: 529
Hello All.

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:

public void GetAllCategories()

{

SqlCommand loCommand = new SqlCommand();

loCommand.CommandType = CommandType.StoredProcedure;

loCommand.CommandText = "prcGetLupHdr";

this.FillDataTable(loCommand);

}

I then dropped a strataframe listview on to my windows form and set its properties as follows:

BusinessObjectType: BOLookupCategories

Method to Execute: GetAllCategories()

Tag Field: luphdr_pk

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?

TIA.

Marcia


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