Group: Forum Members
Posts: 57,
Visits: 277
|
Hi,
That info made quite a difference, thanks. I am still having problems populating the computerName and Logged in columns. I have used the listView row populating event as shown below:
private void listViewUserNames_RowPopulating(MicroFour.StrataFrame.UI.Windows.Forms.RowPopulatingEventArgs e)
{
HLSUserNamesBO loBO= (HLSUserNamesBO)e.BusinessObject;
this.hlsUserProfilesBO1.FillProfileByUser(loBO.userId);
// e.Values[2].DisplayValue= this.hlsUserProfilesBO1.computerName;
// e.Values[3].DisplayValue= this.hlsUserProfilesBO1.loggedIn.ToString();
}
I have commented out the DisplayValue because they cause the exception:
Object reference not set to an instance of an object.
The e.Values has a count of zero.
I can't see what the demo does that I'm not can you please advise.
|