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. Reading data from a .rar formatted file

Reading data from a .rar formatted file

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

    Hi, i need to find out how to read data from a .rar extension file and convert the data into a string format to that eventually be saved in to a SQL DB using C#.. i am not sure where to begin this task!?!? ANY guidance as to where i should be looking or how i can get started with this task will be greatly appreciated.. Thanks guys... Afzal Hassen

    T 1 Reply Last reply
    0
    • A AfzalHassen

      Hi, i need to find out how to read data from a .rar extension file and convert the data into a string format to that eventually be saved in to a SQL DB using C#.. i am not sure where to begin this task!?!? ANY guidance as to where i should be looking or how i can get started with this task will be greatly appreciated.. Thanks guys... Afzal Hassen

      T Offline
      T Offline
      techieboi
      wrote on last edited by
      #2

      Are you trying to save the .rar file to SQL or the compressed files in the .rar file?

      A 1 Reply Last reply
      0
      • T techieboi

        Are you trying to save the .rar file to SQL or the compressed files in the .rar file?

        A Offline
        A Offline
        AfzalHassen
        wrote on last edited by
        #3

        i'm trying to save the compressed files within the rar file. is there a way that i can extract the files programmatically so that i can save the uncompressed files to the temp directory in windows where i can work with the file(s). i've used winRar to extract the files but the files have no extension (i.e. .txt, .xls etc.) i have opened the files with notepad and they contain string records that i would like to process and then save in SQL srvr.. also, how do i make sure that when i want to process a file with no extension that it contains data that are of a string data type in order for me to sucessfully process the records.. Afzal Hassen

        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