Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Populating Data from MS Access

Populating Data from MS Access

Scheduled Pinned Locked Moved C#
csshelp
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    haroon1980
    wrote on last edited by
    #1

    Hi, I have a datagrid and I want to populate it from the tables in MS Access. Also I want to get the combination of different columns from the 3 Tables and populate them by providing my own column names in DATA GRID. I will be very thankful to you in this regards, I am in need of it sooner please help... :( Haroon

    D L 2 Replies Last reply
    0
    • H haroon1980

      Hi, I have a datagrid and I want to populate it from the tables in MS Access. Also I want to get the combination of different columns from the 3 Tables and populate them by providing my own column names in DATA GRID. I will be very thankful to you in this regards, I am in need of it sooner please help... :( Haroon

      D Offline
      D Offline
      dan sh
      wrote on last edited by
      #2

      Connect to the database and get data into a dataset. All you need is a query to get the data from all the tables into one. (I am suspecting Union or join like scenario here.)You do have options of having your own column names. A bit of search in the documentation will help you.

      Time is the best teacher; unfortunately it kills all of its students. जय हिंद

      H 1 Reply Last reply
      0
      • D dan sh

        Connect to the database and get data into a dataset. All you need is a query to get the data from all the tables into one. (I am suspecting Union or join like scenario here.)You do have options of having your own column names. A bit of search in the documentation will help you.

        Time is the best teacher; unfortunately it kills all of its students. जय हिंद

        H Offline
        H Offline
        haroon1980
        wrote on last edited by
        #3

        Thanks..but I am not very expert and quick on wat y mentioned...Can you pls be more in steps if possible? Regards,

        1 Reply Last reply
        0
        • H haroon1980

          Hi, I have a datagrid and I want to populate it from the tables in MS Access. Also I want to get the combination of different columns from the 3 Tables and populate them by providing my own column names in DATA GRID. I will be very thankful to you in this regards, I am in need of it sooner please help... :( Haroon

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          There's an article here[^] about Microsoft Access and C#, featuring a loadDataGrid method. Enjoy :)

          I are troll :)

          H 1 Reply Last reply
          0
          • L Lost User

            There's an article here[^] about Microsoft Access and C#, featuring a loadDataGrid method. Enjoy :)

            I are troll :)

            H Offline
            H Offline
            haroon1980
            wrote on last edited by
            #5

            THANKS Eddy

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups