|
| DAL headaches |
 |
Wed, 2 Apr 2008 15:30:37 +0000 |
I'm trying to create a DAL per
http://weblogs.asp.net/scottgu/archive/2006/01/15/435498.aspx.
Rather than using Northwind, I used a connection to my database. So I made
myself a DataSet called MyDataSet.xsd. I then dragged a table in, and made a
simple select query 'SELECT * FROM TestTable1'. Then I jumped over to my
Default.aspx page, and tried to add the following: 'using
MyDataSetTableAdapters'. And then VS tells me I'm completely wrong. As far as I
can gather from the tutorial, this should be correct. They're just calling their
.xsd file's name plus TableAdapters, IE NorthwindTableAdapters. Yet I keep
getting an invalid reference error. Ahh! Can anyone help?
|
| Post Reply
|
| Re: DAL headaches |
 |
Wed, 2 Apr 2008 17:27:23 +0000 |
Go to your View menu and select "Class View". Within here, you should
see the name of your namespace which will be indicated by curly braces {}.
|
| Post Reply
|
|
|
|
|
|
|
|
|
|