Information générale
Titre:
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement