Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Two sets of data from the same biz obj on a web form
Message
 
To
31/08/2007 09:33:41
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01251382
Message ID:
01251840
Views:
14
Tim,

>Ok, I did not find anythig with GetEntityList() but I did find this. Not sure if I like stepping away from the entities, but if it works (I won't know until I get the data part of my app working).
>
>public DataSet GetDisplayItemsByType(int type, tableName)
>{
>     this.FillDataSet(this.GetCurrentDataSet(), "SELECT * FROM DisplayItem WHERE Type = " + type, tableName);
>}

You need to call the overload where you pass the entity type like this:

<pre>this.GetEntityList<InventoryEntity>("MySprocName", "MyTableName")
Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Reply
Map
View

Click here to load this message in the networking platform