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. Database & SysAdmin
  3. Database
  4. MS Excel "Database"

MS Excel "Database"

Scheduled Pinned Locked Moved Database
databasehelpcsharpcomxml
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.
  • N Offline
    N Offline
    nelsonpaixao
    wrote on last edited by
    #1

    Hi, can i use excel "almost" like a database? i thinks on using a sheet like table and workbook like database,validations fine (don´t need key: i don´t get many errors from there) My problem is the sql statements, can i query it(excel data)? i don´t know how, i think also sql statement in c# don´t work in this case. must i use xml? :(( (no code needed) thanks :-D

    nelsonpaixao@yahoo.com.br trying to help & get help

    L D 2 Replies Last reply
    0
    • N nelsonpaixao

      Hi, can i use excel "almost" like a database? i thinks on using a sheet like table and workbook like database,validations fine (don´t need key: i don´t get many errors from there) My problem is the sql statements, can i query it(excel data)? i don´t know how, i think also sql statement in c# don´t work in this case. must i use xml? :(( (no code needed) thanks :-D

      nelsonpaixao@yahoo.com.br trying to help & get help

      L Offline
      L Offline
      leckey 0
      wrote on last edited by
      #2

      You can use VB6 which lets you use SQL statements. I don't think you can use XMl unless it's 2003 or above. No C#.

      Blog link to be reinstated at a later date.

      1 Reply Last reply
      0
      • N nelsonpaixao

        Hi, can i use excel "almost" like a database? i thinks on using a sheet like table and workbook like database,validations fine (don´t need key: i don´t get many errors from there) My problem is the sql statements, can i query it(excel data)? i don´t know how, i think also sql statement in c# don´t work in this case. must i use xml? :(( (no code needed) thanks :-D

        nelsonpaixao@yahoo.com.br trying to help & get help

        D Offline
        D Offline
        DrukenProgrammer
        wrote on last edited by
        #3

        Hello, You can use excel sheet as an Database, and you can also query it like regular Access or Sql Database.you can use oledb connection to excel file from your vb.net or c# application. Use the connection string below, "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=XLFile.XLS; Extended Properties="Excel 8.0; HDR=No;"

        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