Reg : Read data file and save it in database

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sasiee2k
    New Member
    • Mar 2008
    • 1

    Reg : Read data file and save it in database

    Dear All,

    I have a text file. I want use the c#.net to read the file and place an 'A' at the end of every line if the line was read. And place the data in the sql server database.

    regards,
    sasi
  • jkmyoung
    Recognized Expert Top Contributor
    • Mar 2006
    • 2057

    #2
    Don't have moderator permissions in this forum, but suggest moving/reposting in the C/C++ forum or .NET forum.

    Comment

    • epots9
      Recognized Expert Top Contributor
      • May 2007
      • 1352

      #3
      Originally posted by jkmyoung
      Don't have moderator permissions in this forum, but suggest moving/reposting in the C/C++ forum or .NET forum.
      done.

      **Moved from Programming Challenges

      Comment

      • r035198x
        MVP
        • Sep 2006
        • 13225

        #4
        Originally posted by sasiee2k
        Dear All,

        I have a text file. I want use the c#.net to read the file and place an 'A' at the end of every line if the line was read. And place the data in the sql server database.

        regards,
        sasi
        What have you done so far?
        You'll need a TestReader to read the file and ADO.NET to connect to the DB. Read up on each of them, try some code and post if you get any errors.

        Comment

        Working...