RSS 2.0 | Atom 1.0 | CDF

Search

Categories

Archive

Blogroll

Sign In

# Monday, January 30, 2006
Monday, January 30, 2006 3:30:12 PM (GMT Standard Time, UTC+00:00) ( .Net General | Asp.Net | Database )
a web site i'm working on imports excel documents, and does some processing on them for importing into a database.  I use the code from this post to do the importing, and it works nicely.  I recently came across a problem where i was encountering duplicate records, and it took me ages to figure out why.  Apparently a 'named range' of cells in a worksheet is treated as a Table by ADOX.  so you get more than you bargain for when you iterate through the tables in the resulting DataSet. 
I was able to work around the problem by discarding any tables that do NOT end in the dollar $ character.

Comments [1] | | # 
Monday, July 10, 2006 10:40:35 AM (GMT Daylight Time, UTC+01:00)
i'm trying toimports excel documents
Name
E-mail
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):

Live Comment Preview