G
gmartin
I'm new to .NET, but certainly not new to development work. I've been
trying everything I can think of to get the worlds simplest
implementation of a DataGrid to actually update the changes back to
the database. I've been working on it for two days and I can't seem
to get my "Hello World" datagrid implementation to work.
ANY guidance would be most appreciated. I've tried numerous code
solutions, but none commit any changes back to the database and none
give any sort of error messages.
I simply plopped a datagrid on the form, answered the dialog about
what datasource to use, chose the insert, update, delete checkboxes,
etc... and thought that would be enough. Obviously, it wasn't.
Then, I found all kinds of examples about using HasChanged to
determine if changes had been made and then dataAdapter.Update to
commit the changes. Nothing worked.
I can't believe it's this hard. I know I'm doing something wrong, but
for the life of me I can't figure out what it is. I'll be happy to
post whatever code snippets are needed or even the entire project if
it will help.
Thanks in advance.
trying everything I can think of to get the worlds simplest
implementation of a DataGrid to actually update the changes back to
the database. I've been working on it for two days and I can't seem
to get my "Hello World" datagrid implementation to work.
ANY guidance would be most appreciated. I've tried numerous code
solutions, but none commit any changes back to the database and none
give any sort of error messages.
I simply plopped a datagrid on the form, answered the dialog about
what datasource to use, chose the insert, update, delete checkboxes,
etc... and thought that would be enough. Obviously, it wasn't.
Then, I found all kinds of examples about using HasChanged to
determine if changes had been made and then dataAdapter.Update to
commit the changes. Nothing worked.
I can't believe it's this hard. I know I'm doing something wrong, but
for the life of me I can't figure out what it is. I'll be happy to
post whatever code snippets are needed or even the entire project if
it will help.
Thanks in advance.