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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. Create query for excel

Create query for excel

Scheduled Pinned Locked Moved C#
databasequestioncsharp
3 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.
  • K Offline
    K Offline
    KSEI
    wrote on last edited by
    #1

    Hi, Can anyone tell me how can i create database query for an excel workbook with c#? Thanks.

    B 1 Reply Last reply
    0
    • K KSEI

      Hi, Can anyone tell me how can i create database query for an excel workbook with c#? Thanks.

      B Offline
      B Offline
      Braulio Dez
      wrote on last edited by
      #2

      I think you can access an Excel file just using ADO .net, take a look at the net for samples. Good luck

      H 1 Reply Last reply
      0
      • B Braulio Dez

        I think you can access an Excel file just using ADO .net, take a look at the net for samples. Good luck

        H Offline
        H Offline
        Heath Stewart
        wrote on last edited by
        #3

        Specifically, either using the OLE DB driver for Excel (using the System.Data.OleDb namespace classes), or the ODBC driver for Excel (download ODBC.NET from Microsoft).

        -----BEGIN GEEK CODE BLOCK----- Version: 3.21 GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++ -----END GEEK CODE BLOCK-----

        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