Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / July 2007

Tip: Looking for answers? Try searching our database.

Invalid CSV File name while exporting from IE

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Adi - 24 Jul 2007 14:49 GMT
Hi,

I am having a problem in exporting the file into csv format from a website. First the name I put in the export 'box' comes over with "%" "[" , "]" and other odd characters in the FILE name and the TAB name and these cause
problems:  File can't be saved with those names.  If I copy the TAB file and while it still has the default name  I get into a loop where I can't change the
tab name and end up having to abort the file because Excel says the file name is invalid.  No matter how I try to change the file name, Excel says it still
has a problem.  Can anybody help me in finding the solution for this problem? Thanks........
Steve C. Orr [MCSD, MVP, CSM, ASP Insider] - 25 Jul 2007 14:15 GMT
Try using Server.URLEncode to encode the file's name.
Here's more info:
http://msdn2.microsoft.com/en-us/library/ms525738.aspx

Signature

I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net

> Hi,
>
[quoted text clipped - 10 lines]
> has a problem.  Can anybody help me in finding the solution for this
> problem? Thanks........

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.