Thomas,
This is absolute not the right sample, however it shows you at least how to
update.
Better is of course to use an update button for an update. Than you have as
well to check for errors as by instance concurrency errors (that is if
somebody made changes in the maintime). However in my opinion is it nice to
see the basic. (The absolute most simple update version as there is, is at
the bottom).
This sample does a little bit it in the way as you thought it was working.
http://www.windowsformsdatagridhelp....7-5595f8147624
I hope this helps,
Cor
<th*****@msala.net> schreef in bericht
news:43**********************@news.newsdemon.com.. .
Well, that may be my problem. I thought that as long as the field was not
set to readonly and I had editonenter set that VB would handle the
updating.
I was not aware that I needed to add code for the update to occur. Please
point me in the direction of what code I need to have the datagridview
update the database.
Thanks,
Thomas
--
Posted via NewsDemon.com - Premium Uncensored Newsgroup Service
------->>>>>>http://www.NewsDemon.com<<<<<<------
Unlimited Access, Anonymous Accounts, Uncensored Broadband Access