General information
Title:
How to create a typed dataset
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only