Popular Posts
Math function 函數 說明 ABS(N) 絕對值 SIGN(N) N>0 : 1, N=0 : 0, N<0 : -1 CEIL(N) 大於N的最小整數值 ... Remoting config & Start remoting using config .config <system.runtime.remoting>     <application name="ScheduleServiceMonitor">         <service>             ... Convert relative url to absolute Uri baseUri = new Uri("http://www.domain.com/path/sample"); Uri absoluteUri = new Uri(baseUri, "../../other/path"); Uri...
Blog Archive
Stats
Set content type & attachment name
Response.ContentType = "image/x-png";
Response.AddHeader("Content-Disposition", string.Format("attachment;filename={0};", fileName));