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. WPF
  4. Consume huge excel sheets by WCF Services

Consume huge excel sheets by WCF Services

Scheduled Pinned Locked Moved WPF
csharpdatabasewpfwcfxml
2 Posts 2 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.
  • V Offline
    V Offline
    Vipul Mehta
    wrote on last edited by
    #1

    Hi, I need to write a WCF service to consume a large excel sheet (having in excess of 70,000 records). Bascially the client (a WPF Desktop application) needs to read the excel spreadsheet in a Data Set and perform validation against a schema. Once validated the client needs to send the data to the WCF service. The service then needs to insert the data in the database (simple inserts - one excel row becomes a row in the database table). What options (transport type and bindings) do I have for consuming the "huge" excel files EFFICIENTLY within the WCF Service?

    Regards, Vipul Mehta

    R 1 Reply Last reply
    0
    • V Vipul Mehta

      Hi, I need to write a WCF service to consume a large excel sheet (having in excess of 70,000 records). Bascially the client (a WPF Desktop application) needs to read the excel spreadsheet in a Data Set and perform validation against a schema. Once validated the client needs to send the data to the WCF service. The service then needs to insert the data in the database (simple inserts - one excel row becomes a row in the database table). What options (transport type and bindings) do I have for consuming the "huge" excel files EFFICIENTLY within the WCF Service?

      Regards, Vipul Mehta

      R Offline
      R Offline
      RugbyLeague
      wrote on last edited by
      #2

      I use DataStreams http://www.csvreader.com/[^] It has to read the whole excel spreadsheet into memory first though but once done it is very simple and fast to read each row and do what you will with it.

      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