Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OObject.SetCurrentDataSet fails
Message
From
05/11/2013 15:34:42
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
OObject.SetCurrentDataSet fails
Environment versions
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01587347
Message ID:
01587347
Views:
62
This has never been a problem before but now when I try to set the currentdataset of an object with an entitylist on any form it causes the bizobject to become null. It will create & work fine for oBisObj.Entity, but not for multi-row entitylists. When I try to save to the entity with a dataset, I also take errors that say I'm trying to insert invalid field types into certain columns.

this.oClient.Entity is populated but this.oClient.EntityList is null
       if (!IsPostBack)
        {
            this.oClient.GetClientsByClientUserUserID(gID);
            Session["dsClient"] = this.oClient.DataSet;            
        }
        else
        { 
            DataSet dsClient = (DataSet)Session["dsClient"];
            this.oClient.SetCurrentDataSet(dsClient);                     **** ERROR OCCURS HERE
        }
Reply
Map
View

Click here to load this message in the networking platform