Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Feb 2007
    Posts
    37
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation Insert Contents Of Text File Into Database

    Hi All,

    Am Newbie To Asp.net, I Want To Allow The User To Upload A Text File From Any Client In The Network To The Server And Then Insert The Contents Of This File Into A Table In Oracle Database,
    Contents Of The Text File Looks Like (employee Id , Name , Mobile No)
    258,john Terry,5869742
    124,jun Moris,478596
    301,osk Mary,475
    ........

    And Is There Any Way To Insert The Contents Of The User Text File Directly Into The Database Without Uploading It To The Server ,

    Please Send Me With Full Code Am A Newbie To Asp.net

  • #2
    New Coder
    Join Date
    Mar 2007
    Posts
    76
    Thanks
    0
    Thanked 0 Times in 0 Posts
    http://www.codeproject.com/aspnet/fileupload.asp

    go there, it explains everything. Now if you're using vb.net, you might have a bit of translating to do, but ive done it quite easily so you shouldnt have too much trouble either.

    If you really can't do anything with the C# code, reply here and ill post a vb.net example.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •