Error
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.

attachment

downloading a file in asp.net
Friday, 27 January 2012 10:45
// downloading a file in asp.net



string attachment = "attachment; filename=" + file;
HttpContext.Current.Response.ClearContent();
HttpContext.Current.Response.AddHeader("content-disposition", attachment);
HttpContext.Current.Response.ContentType = "application/text";
HttpContext.Current.Response.ContentEncoding = System.Text.Encoding.Default;
HttpContext.Current.Response.TransmitFile(string.Concat(DownloadFilePath));
HttpContext.Current.Response.End();

Read more: http://feeds.dzone.com/~r/dzone/snippets/~3/JyroojCmZnU/14481

 
Open save dialog box to download file
Friday, 30 December 2011 03:26
// Open save dialog box to download file


string attachment = "attachment; filename=" myfile.xml";
HttpContext.Current.Response.ClearContent();
HttpContext.Current.Response.AddHeader("content-disposition", attachment);
HttpContext.Current.Response.ContentType = "text/xml";
HttpContext.Current.Response.ContentEncoding = System.Text.Encoding.Default;
HttpContext.Current.Response.TransmitFile(Server.MapPath(filepath));
HttpContext.Current.Response.End();

Read more: http://feeds.dzone.com/~r/dzone/snippets/~3/60PPAzm4g70/14373

 
HP Veer Needs a Magnetic Dongle for USB and Audio Needs [WebOS]
Friday, 11 February 2011 21:59
If you want to listen to audio on headphones or transfer data via USB on the HP Veer, you're gonna need a magnetic dongle for that. PreCentral says the attachment is bulky and its magnet isn't very strong. Meh. [PreCentral] More »


Read more: http://feeds.gawker.com/~r/gizmodo/full/~3/wzRjvgH_6j0/

 


Taxonomy by Zaragoza Online