datagridview data in vs 2005

  • Thread starter Thread starter Howard
  • Start date Start date
H

Howard

I have a datagrid view and a commit button
My default datagrid view shows me the results from the database but update
or insert doesn't work
how can i make it so that it will update the data in the database when i
change some values and hit the commit button.

im using .net 2.0 and c#
thanks,
Howard
 
Have the same problem...
In fact this is what's happening under both Windows Form DataGridView and
Web Forms GridView. Similar but not identical behavior comes with DetailView
(Web Forms), except: this control actually manages to delete and/or create
records (but doesn't update existing ones).

Your post is not the only one out there, I'm not sure yet but so far it
looks to me like a bug... (or perhaps some key information missing in
documentation? - I spent two days looking through everything on DataGridView
+ went and bought some other, late release books that deal with this control,
so I'm pretty sure something essential would have to be missing in all these
resources if it is not a bug...).
 
Back
Top