I'm trying to create a dataset. I start by creating a connection. Then I
create and configure a data adapter. Finally, I select "generate dataset"
after right-clicking on the data adapter. It creates a dataset and puts it
under the form, just like the connection and the adapter.
When I try to compile the code GENERTED BY THE IDE, it bombs. Here's the
code:
protected System.Data.Ole Db.OleDbCommand oleDbSelectComm and1;
protected System.Data.Ole Db.OleDbCommand oleDbInsertComm and1;
protected System.Data.Ole Db.OleDbCommand oleDbUpdateComm and1;
protected System.Data.Ole Db.OleDbCommand oleDbDeleteComm and1;
protected System.Data.Ole Db.OleDbDataAda pter oleDbDataAdapte r1;
protected TrainOfThought. DataSet1 dataSet11;
It bombs on the last line. It says that the type or namespace "DataSet1"
does not exist. I never said it did. Does anyone know why .NET would bomb
on its own code? What can I do to fix this?
create and configure a data adapter. Finally, I select "generate dataset"
after right-clicking on the data adapter. It creates a dataset and puts it
under the form, just like the connection and the adapter.
When I try to compile the code GENERTED BY THE IDE, it bombs. Here's the
code:
protected System.Data.Ole Db.OleDbCommand oleDbSelectComm and1;
protected System.Data.Ole Db.OleDbCommand oleDbInsertComm and1;
protected System.Data.Ole Db.OleDbCommand oleDbUpdateComm and1;
protected System.Data.Ole Db.OleDbCommand oleDbDeleteComm and1;
protected System.Data.Ole Db.OleDbDataAda pter oleDbDataAdapte r1;
protected TrainOfThought. DataSet1 dataSet11;
It bombs on the last line. It says that the type or namespace "DataSet1"
does not exist. I never said it did. Does anyone know why .NET would bomb
on its own code? What can I do to fix this?
Comment