473,513 Members | 2,492 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Downloading data and save in a zip file (ASP.NET program)

Hi,

I'd like to do downloading big data from my table into a zip file in ASP.NET
program (without displaying data on the datagrid control) by an event
button_click . If you have your advises or sample codes, please send it to
me. Thanks in advance.
Nov 19 '05 #1
4 1046
hi,
hope this articles helps you a bit
http://www.codeproject.com/aspnet/upsanddowns.asp.
he is using files on the HDD.but in your case a probably writing the data to
a temp file and compressing it can be a try.
--
The best
srini
http://www.expertszone.com
"bienwell" wrote:
Hi,

I'd like to do downloading big data from my table into a zip file in ASP.NET
program (without displaying data on the datagrid control) by an event
button_click . If you have your advises or sample codes, please send it to
me. Thanks in advance.

Nov 19 '05 #2
Do you mean that you want users to be able to download data from a database
table in a zip file? It is important to be perfectly clear about your
requirements before discussing any solution.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Ambiguity has a certain quality to it.

"bienwell" <bi******@hotmail.com> wrote in message
news:OB**************@tk2msftngp13.phx.gbl...
Hi,

I'd like to do downloading big data from my table into a zip file in
ASP.NET
program (without displaying data on the datagrid control) by an event
button_click . If you have your advises or sample codes, please send it
to
me. Thanks in advance.

Nov 19 '05 #3
Kevin,

That's exactly what users want me to do.

"Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Do you mean that you want users to be able to download data from a database table in a zip file? It is important to be perfectly clear about your
requirements before discussing any solution.

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
Ambiguity has a certain quality to it.

"bienwell" <bi******@hotmail.com> wrote in message
news:OB**************@tk2msftngp13.phx.gbl...
Hi,

I'd like to do downloading big data from my table into a zip file in
ASP.NET
program (without displaying data on the datagrid control) by an event
button_click . If you have your advises or sample codes, please send it
to
me. Thanks in advance.


Nov 19 '05 #4
If I was you I'd first try using the J# zip classes:
http://msdn.microsoft.com/msdnmag/is...n/default.aspx

Or I've heard of people having success with this code:
http://www.icsharpcode.net/Ope*nSour.../Default.as*px

Or you could consider calling a command line utility like this:
http://www.i386.info/software/*zip23xn.zip

Or you could consider a 3rd party component such as this:
http://www.xceedsoft.com/products/zipnet

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"bienwell" <bi******@hotmail.com> wrote in message
news:OB**************@tk2msftngp13.phx.gbl...
Hi,

I'd like to do downloading big data from my table into a zip file in
ASP.NET
program (without displaying data on the datagrid control) by an event
button_click . If you have your advises or sample codes, please send it
to
me. Thanks in advance.

Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
6853
by: kevin | last post by:
Hi, Any help with this would be really appreciated! I'm trying to download a file from a remote server. The access permissions is okay but the problem I'm facing is that the file is getting...
0
1504
by: TJ | last post by:
Hi, I've written code web-based uploading and downloading. Here is some code for it. For saving file into MS-SQL database, SaveFileIntoDB(HttpPostedFile file) { int fileLength =...
1
5122
by: Newbie | last post by:
Hi All Wondered if you could help. I have created a little backup routine (using classic ASP and ADO) to get my data from my db into a bespoke XML file, ie I query the data into a recordset,...
1
1668
by: Muddasir | last post by:
Hello everyone. I am facing problem in downloading .xls file. I generate report and save data in excel sheet on server. and once user click the 'save data in excel format', an excel sheet is...
0
7260
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7384
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7539
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7525
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4746
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3234
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3222
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
802
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
456
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.