Hi!
I am new to .NET and been reading these forums in order to learn about it. So far, I must admit that I learned a lot. Hope to be able to share some knowledge in the future!
I have a question now, that I am unable to answer to myself.
I have a datagridview bound to my access DB (once I'm done learning access, I'll move to a more powerful DB). The problem I am facing is that when I call my Data Adapter Update method, it updates all the records in my DB but 'forgets' to update the first record of my DataGridView.
User is asked to enter a %age. Then I loop the grid, updating the values with that %age and once loop is done I ask whether he/she wants to reflect those changes to the DB. If Yes, why would my line: da.update(ds, "datos") fail to update the first record of my grid and not fail to update all the other records?
Thanks ni advance!
I am new to .NET and been reading these forums in order to learn about it. So far, I must admit that I learned a lot. Hope to be able to share some knowledge in the future!
I have a question now, that I am unable to answer to myself.
I have a datagridview bound to my access DB (once I'm done learning access, I'll move to a more powerful DB). The problem I am facing is that when I call my Data Adapter Update method, it updates all the records in my DB but 'forgets' to update the first record of my DataGridView.
User is asked to enter a %age. Then I loop the grid, updating the values with that %age and once loop is done I ask whether he/she wants to reflect those changes to the DB. If Yes, why would my line: da.update(ds, "datos") fail to update the first record of my grid and not fail to update all the other records?
Thanks ni advance!