Results 1 to 3 of 3

Thread: How to show the access table in VB

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2008
    Posts
    9

    How to show the access table in VB

    How to show the whole access table in VB?
    Can anyone help me about this? Thanks

  2. #2
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: How to show the access table in VB

    The quick and dirty way is:

    - add ado data copntrol to your form
    - right click on it and select properties
    - select "use connection string" option and click "build" button
    - select ms jet xx.xxx oledb provider and click "next" button
    - click on the "..." button and navigate to your mdb file
    - click "test connection" button
    - if connection succeeded then click ok and select Recordsource tab on your ado data control properties pages
    - set commandtype = 2
    - select table name
    - add Datagrid to your form and in the Properties window set datasource = your_data_control (you will be able to select it from the list)

    You pretty much done - save and run your project.


    For much more robust way check Database FAQ section.

  3. #3
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: How to show the access table in VB

    There is a tutorial link in my signature, have a look!
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

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