Hi, i am trying to add several rows to a dataview before bindng it to the datagridview. I have tried several variations of the below code but only the last row will actuall load into the grid. Probably doing something stupid. Any help will be appreciated.
Several hours later and i still cant figure this one out. What i have found is that only one row will add to the dataview (irrespective if you dim the rows the same or different variables) and only the last parameter sent will be updated in the row. I have tried it in a for next loop, but makes no difference. There is also no .update or .acceptchanges to force the row update after each new rowadd. Interesting is that if i uncomment the .endedit, then no rows are added to the dataview.
I am hoping that my learned colleaguesout there can figure this one out.