Solved

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

Posted on 2008-06-13
6
845 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
  • 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

829 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