I have a strongly typed dataset which is not performing like it supposed to.
The error I am getting is:
I am declaring a new DS as follows:
Then, when I try to use it on the next line as following:
The error comes up when I try a build.
Oddly newInventoryDS also doesn't come up in intellisense after a few minutes of typing it. It only does sometimes.
I've done the same thing before and not had this issue on a totally different project at my last job.
Could it be a configuration issue or is the DS defined bad?
The DS definition was built from a DTD file passed from a third party. I used Visual Studio then to create the schema and then xsd.exe to create the class. I can create an empty copy and it will write out the xmlSchema just fine also.
Any suggestions?
The error I am getting is:
Code:
'Store_Eco.Inventory_846.newInventoryDS' is a 'field' but is used like a 'type'
I am declaring a new DS as follows:
Code:
[teal]InventoryDS[/teal] newInventoryDS = [blue]new[/blue] [teal]InventoryDS[/teal]();
Then, when I try to use it on the next line as following:
Code:
[u]newInventoryDS[/u].productData prodDT = newInventoryDS.productData.NewproductDataRow();
The error comes up when I try a build.
Oddly newInventoryDS also doesn't come up in intellisense after a few minutes of typing it. It only does sometimes.
I've done the same thing before and not had this issue on a totally different project at my last job.
Could it be a configuration issue or is the DS defined bad?
The DS definition was built from a DTD file passed from a third party. I used Visual Studio then to create the schema and then xsd.exe to create the class. I can create an empty copy and it will write out the xmlSchema just fine also.
Any suggestions?