views:

19

answers:

1

Can't see it no where in the solution explorer..the tutorial that I am following is using the NorthWind DB and hence need to add the code line "using NorthWindTableAdatpter;" statement.

So I thought I need to add "using myDBTableAdapters" statement in my code which I did but it's giving an error saying:

"The type or namespace name 'myDbTableAdapters' could not be found (are you missing a using directive or an assembly reference?)"

What's wrong? Where is the class for myDB's table adapter? I searched the .xsd file but there's no mention of "myDBTableAdapters". It's not there in the solution explorer

Help?

+1  A: 

Have you created the typed DataSet? In your solution explorer can you see a file with extension "xsd"? That's the DataSet schema file. Open that in design view and you can see your adapters there.

Mamta Dalal
yes I have and yes I can see the file DataSet1.xsd
Serenity
The design view is showing table "Products" column names and below it is writte ProductsTableAdapterDo I need to write the statement "using ProductsTableAdapter;" or what ? I just did this same error..sorry I am new to .net..what reference could be missing ??
Serenity