Results 1 to 8 of 8

Thread: [RESOLVED] DGV Woes

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2007
    Location
    Somewhere else today
    Posts
    355

    Resolved [RESOLVED] DGV Woes

    I have an outstanding issue with a DGV which I said was resolved in a previous thread, which turned out not to be. The issue is this:

    I have a DGV in which the virtual mode is set to true as I do my own data management. The problem I am getting is when I have added a new row to the data grid and saved it successfully, and then try to list another set of data I get an error as shown. If I edit a cell anywhere in the datagrid and save it, I can list another set of data successfully. Ignore blank cells as this does not cause any problems.

    The value in the combo box is added to a hidden cell in the datagrid when a new row has been added. I have 2 SQL statements for the dataadapter, one to list the data and one for saving. I have also provided the code with this problem. Can anyone provide with a solution with or without the vitual mode set to true as I will have similar types of layouts in other parts of the application.

    Computerman
    Attached Images Attached Images   
    Attached Files Attached Files
    It was much easier in VB6, but I am now liking Vb.Net alot more.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width