Results 1 to 2 of 2

Thread: Importing an Excel xls into a DataSet in vb.net [RESOLVED]

  1. #1

    Thread Starter
    Lively Member nokia8210's Avatar
    Join Date
    Dec 2002
    Location
    Coventry
    Posts
    92

    Importing an Excel xls into a DataSet in vb.net [RESOLVED]

    Can Anyone help me? i have imported a txt file into excel and now i want the data in the xls spreadsheet to go into a dataet so i can manipulate it. Please help!!!
    Last edited by nokia8210; Nov 13th, 2003 at 05:51 AM.

  2. #2
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704
    Well, if you have a recent version of Xcel, you could save the spreadsheet as an XML spreadsheet.
    Then use the Dataset.ReadXML.

    Now, you may or may not get great results, but it steps you in the right direction.

    http://msdn.microsoft.com/library/de...setfromxml.asp

Posting Permissions

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



Click Here to Expand Forum to Full Width