C
CaptainCaveman
Hi
I am adding a DataGridView to my application, and binding it to a table in
my SQL database.
As soon as the connection is complete I get a compilation error of
"The type name 'DataSet' does not ewxist in the type 'project.project'"
I have located this to the fact that the new entries are appearing in my
designer.cs file as 'new project.dataset'
If I remove the 'project' so that it appears as 'new dataset' then all is OK
(well, no compilation errors), but any time i modify anything to do with the
DataGridView the designer.cs file is modified and returned to the erorr
state.
Does anyone know what is causing this to happen?
Additionally, when I have managed to compile the app and get it running,
there is no auto update on the table, even though the update collection
settings are configured as part of the DataGridView, i.e. when viewing the
properties of the TableAdapter the UpdateCommand is populated. I cant help
but think that this is tied to the above problem.
Again, any help would save my sanity so please advise of suggestions.
BTW - I am completely new to this!!!!!!
I am adding a DataGridView to my application, and binding it to a table in
my SQL database.
As soon as the connection is complete I get a compilation error of
"The type name 'DataSet' does not ewxist in the type 'project.project'"
I have located this to the fact that the new entries are appearing in my
designer.cs file as 'new project.dataset'
If I remove the 'project' so that it appears as 'new dataset' then all is OK
(well, no compilation errors), but any time i modify anything to do with the
DataGridView the designer.cs file is modified and returned to the erorr
state.
Does anyone know what is causing this to happen?
Additionally, when I have managed to compile the app and get it running,
there is no auto update on the table, even though the update collection
settings are configured as part of the DataGridView, i.e. when viewing the
properties of the TableAdapter the UpdateCommand is populated. I cant help
but think that this is tied to the above problem.
Again, any help would save my sanity so please advise of suggestions.
BTW - I am completely new to this!!!!!!