摘要: using System;using System.Collections;using System.Configuration;using System.Data;using System.Linq;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.HtmlControls;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Xml.Linq;using DA 阅读全文
posted @ 2013-02-09 21:15 StevenFu 阅读(183) 评论(0) 推荐(0) 编辑
摘要: var cBrowser = ""; $(document).ready(function () { if (window.navigator.userAgent.indexOf("Safari") >= 0 && navigator.userAgent.toLowerCase().indexOf("version") >= 0) { cBrowser = "safari"; } else if (window.navigator.userAgent.indexOf("Chro 阅读全文
posted @ 2013-01-13 15:20 StevenFu 阅读(392) 评论(0) 推荐(0) 编辑
摘要: function aaa() { var localLG; localLG = navigator.language; //alert(localLG); if (localLG == "zh-CN") { window.location.href = "zh/whatson.aspx"; } else { window.location.href = "en/whatson.aspx"; } ... 阅读全文
posted @ 2013-01-13 15:19 StevenFu 阅读(260) 评论(0) 推荐(0) 编辑
摘要: StringBuilder sb = new StringBuilder(); //Microsoft.Office.Interop.Excel.Application excel = new Microsoft.Office.Interop.Excel.Application(); //excel.Visible = false; //object ms = Type.Missing; //Microsoft.Office.Interop.Excel.Workbook wk = excel... 阅读全文
posted @ 2013-01-13 15:15 StevenFu 阅读(303) 评论(0) 推荐(0) 编辑
摘要: onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" 阅读全文
posted @ 2013-01-13 15:08 StevenFu 阅读(115) 评论(0) 推荐(0) 编辑