摘要:
asp.net下载的几种常用的方式如下。在下载的时候,为了防止弹出窗口,可以采用在原页面加一个<iframe id="iDownload" style="display:none;" ></iframe>然后用jquery语句指定下载链接。$("#iDownload").attr("src", "download.ashx?filename=" + encodeURI($(this).children("span").first().text())); 阅读全文
摘要:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf- 阅读全文
摘要:
如果曾经使用过Json,就会清楚Json可以分为两个部分:<!--[if !supportLists]-->1. <!--[endif]-->Json Object(A collection of name/value pairs)<!--[if !supportLists]-->2. <!--[endif]-->JSON Array (An ordered list of values)解析JSON的开源包非常多,在各种场合使用非常广泛,尤其长于网络传输。本文介绍使用LitJson,并用C#语言来介绍使用JSON,可以在C#应用程序,web程序 阅读全文