Results 1 to 3 of 3

Thread: Using Datagrid in unbound mode with SQL Server

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2000
    Posts
    16

    Unhappy

    I have an application that uses a grid for entering parts a customer has ordered. The part number is loaded into a list box which is used in the grid to select the part number.

    The description and price fill in automatically. I have set this up in a form for inserting a record in a database. This part works fine.

    What I need is a way to capture the order information from the database into a grid and be able to make changes such as additions,updates, deletion.

    I can select the data in but need help with updating, and adding new data. I have read Unbound mode article in the MSDN. If anyone can clarify using a database instead of an array for this it would be a great help.

    Specifically setting and retrieving the bookmark as the primary key field from a table.

    If there is a better way please explain.

    Thanks.

  2. #2
    Guest
    Hi, you should have by now found out that DataGrid doesnt support UNBOUND MODE. So, instead try using Dbgrid. As for the solution u asked for could you be specific if u want to use only DataGrid or not. Please mail me further queries if any. All the best...vijay

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Mar 2000
    Posts
    16

    Angry dbgrid bookmarks

    What is the best way to set the bookmark as the primary key
    from a table?

    See previous post.

    Thanks.

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