Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old September 18th, 2006, 07:21 AM
Authorized User
 
Join Date: Jun 2006
Location: mumbai, Maharastra, India.
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to balesh
Default Saving file on client machine

Hi All,
I hope u all will be in good health.
I have a datagrid on my page and a command button. On click on the command button, i want to save the data in the grid on the client machine( as a .csv file).
I try my best and now i can write this information in a file on server, but not on client. I can ask the user to open this file. But I don't want this. I dont want to save the file on server. I want that this file should directly save on client machine(no problem, if it prompt user with a save dialog box).
Plz help me.
Thanks in advance.

  #2 (permalink)  
Old September 18th, 2006, 07:49 AM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

you are going to have to write the data to the HTTP Output stream. You may find this article helpful:

http://www.syncfusion.com/FAQ/aspnet...23c.aspx#q327q

--Stole this from a moderator

I will only tell you how to do it, not do it for you.

Unless, of course, you want to hire me to do work for you.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Saving DataSet data on client machine in .csv file balesh ASP.NET 1.0 and 1.1 Professional 0 October 25th, 2006 06:17 AM
Can't able to Open Word File in Client Machine senthilavs Classic ASP Basics 1 June 10th, 2006 01:02 PM
wirting file to web client machine from webserver paranthaman .NET Framework 2.0 0 February 25th, 2006 01:44 AM
writing to client machine - PLEASE HELP Toran Classic ASP Databases 2 April 2nd, 2005 03:50 PM
save a file on client machine sumsin ASP.NET 1.0 and 1.1 Basics 1 March 30th, 2005 05:52 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.