Solved

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

Posted on 2008-06-13
6
844 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
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

803 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