Datagrid Problem

I have a datagrid with readonly property set to false. When I make changes to the grid and leave the cell, the grid doesn't store the new information. When I check datagrid.item(currentrowindex,column) it still shows old info. Why?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Brian CroweDatabase AdministratorCommented:
try calling currencymanager.endcurrentedit before checking the value...

ctype(bindingcontext(datagrid.datasource), currencymanager).endcurrentedit

khebert1Author Commented:
What happens is as soon as I leave the cell I am editing, the value goes back to the original value. I have done this on a previous program with no problems at all. I just can't figure out why the value won't hold.
Brian CroweDatabase AdministratorCommented:
make sure that your datasource is set to allow edits as well as the tablestyle and datacolumns

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
khebert1Author Commented:
Demo please!
khebert1Author Commented:
I was setting column.nulltext = vbNullString
this was causing all my problems.

thanks for pointing me in the right direction

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.