?
Solved

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

Posted on 2008-06-13
6
Medium Priority
?
853 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 1000 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 1000 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
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 

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 learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Screencast - Getting to Know the Pipeline
Suggested Courses
Course of the Month13 days, 12 hours left to enroll

755 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