Arindam ha scritto:
> You can try File Field which is an HTML Control.
> Hope this'll help you.
> Regards,
> Arindam
try this code to download
System.Web.HttpResponse r= HttpContext.Current.Response;
r.Clear();
r.ClearHeaders();
r.AppendHeader("Content-Disposition","atta
chments; filename=" +
fileName);
r.AppendHeader("Content-Length",bytesToSend.Leng
th.ToString());
r.ContentType=allegato.ContentType;
r.BinaryWrite(bytesToSend);
r.Flush();
r.End();
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "C-Sharp (C#)" group.
To post to this group, send email to C_Sharp googlegroups.com
To unsubscribe from this group, send email to
C_Sharp-unsubscribe googlegroups.com
For more options, visit this group at http://groups.
google.com/group/C_Sharp
-~----------~----~----~----~------~----~------~--~---
|