Compile error with case study
If I try to compile the case study code from Visual Sudio .NET 2003 I get the following error generated from the stdctrl.cs file:
'IBuyAdventure.UserControl' denotes a 'namespace' where a 'class' was expected.
from the following code:
namespace IBuyAdventure
{
public class ControlBase : UserControl
{
public string getConnStr() {
string dsn;
dsn = ConfigurationSettings.AppSettings["connectionString"];
return dsn;
}
}
}
Any ideas why?
Regards
Philippe
|