Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to create a typed dataset
Message
 
 
To
All
General information
Forum:
ASP.NET
Category:
ADO.NET
Title:
How to create a typed dataset
Miscellaneous
Thread ID:
00807682
Message ID:
00807682
Views:
60
How do i create a new instance of a typed dataset that is auto-generated from a xsd file.

Product ds = new Product(); // dataset

This will cause the error:
The type or namespace name 'ProductDataset' could not be found (are you missing a using directive or an assembly reference?)

The .NET namespace is set to the project name by default. For example, if I have a product.xsd in MySolution --> the product.cs namespace is set to MySolution but I want it to be set to MyCompany.Product.


TIA, John
Next
Reply
Map
View

Click here to load this message in the networking platform