Solved

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

Posted on 2008-06-13
6
843 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
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…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
This is a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …

919 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now