Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Jump Start - Unable to cast object
Message
From
08/06/2006 15:00:17
 
 
To
03/05/2006 14:25:01
Rex Mahel
Realm Software, Llc
Ohio, United States
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01118869
Message ID:
01127918
Views:
18
Rex,
How did you resolve this issue?
Thanks,
Daniel


>Unable to cast object of type 'System.Data.DataTable' to type 'System.Data.DataSet'

The line is :

DataSet dsOrderDetail = (DataSet)Session["dsOrderDetail"];

which comes from the OrderDetail.GetOrderDetail which returns a DataTable, not a DataSet.

How can I fix this?

Thanks
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform