摘要: View Code public static bool Print(int orderId, string orderTime) { bool b = true; string cut = ((char)29).ToString() + ((char)86).ToString() + ((char)1).ToString() + ((char)49).ToString();//发送切纸指令 //byte[] byte_cut = System.Text.Encoding.Default.GetBy... 阅读全文
posted @ 2013-04-18 14:18 陈其龙 阅读(3178) 评论(0) 推荐(1)
摘要: <script type="text/javascript"> <!-- window.onbeforeunload = onbeforeunload_handler;//监听浏览器关闭事件 function onbeforeunload_handler() { var rstr = "确定退出"; alert("-----------"); return rstr; }// --> </script> 阅读全文
posted @ 2013-02-27 18:50 陈其龙 阅读(299) 评论(0) 推荐(0)
摘要: 1.下载URLRewriter.dll 引用到项目里。2.在配置文件web.config添加 3.配置重写规则~/List(\d+)/List_(\d+)\.aspx ~/List.aspx?ClassID=$1&Page=$2-->~/lesson/(\d{0,999999})/(\d{0,99... 阅读全文
posted @ 2011-12-09 23:15 陈其龙 阅读(396) 评论(0) 推荐(0)