Solved

writing a CSV file using client side javascript??????????

Posted on 2008-06-13
6
846 Views
Last Modified: 2013-11-26
The title guves you the problem I am having. I would like some smaple code of writing a CSV file using client side javascript.

Any idea????

I am using Visual Studio .Net 2005 in c#. I have text boxes where user inputs. After all data is input, it writes to a database (access) and would also like it create the CSV file with the exact data entered in the write correct rows etc...

Thanks,

introlux
0
Comment
Question by:introlux
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 2

Accepted Solution

by:
Airyck666 earned 500 total points
ID: 21780268
You won't be able to do that client side... security issues.  You'll have to do it in you're C# code.  If the problem is that you want the client - and not the server- to have the CSV file, you'll have to let them download it after it is created on the server side.
0
 

Author Comment

by:introlux
ID: 21780477
Ok thats fine. I would not like the client to have the file anyway. I want it all to be saved on the server side.

How will i go around to implement this???

Thanks,

introlux
0
 
LVL 2

Assisted Solution

by:Airyck666
Airyck666 earned 500 total points
ID: 21780863
I'm affraid I don't have a lot of experience in C#, but you can check out this page... it might help.
http://knab.ws/blog/index.php?/archives/3-CSV-file-parser-and-writer-in-C-Part-1.html
0
Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

 

Author Comment

by:introlux
ID: 21791644
I have read this help but still not what im looking to do. I need an example which I can then manupilate it to my own design like I have with other problems.

Alll help will be appreciated.

introlux
0
 

Author Comment

by:introlux
ID: 21885315
I have sorted out this problem!

Thanks for all the support

introlux
0
 

Author Closing Comment

by:introlux
ID: 31466941
Thanks for the effort
0

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question