摘要: with tt as( select ID,INFOTITLE,INFOCONTENT,CreateTime,CreateCode,IsRead ,data FROM (SELECT ID,INFOTITLE,INFOCONTENT,CreateTime,CreateCode,IsRead ,(se 阅读全文
posted @ 2016-08-12 09:40 blackhole1 阅读(535) 评论(0) 推荐(0)
摘要: with tt as(select s.MorOrAftOrEve, case s.MorOrAftOrEve when 1 then '上午' when 2 then '下午' else '晚上' end as MAE ,'第'+cast(s.Section as varchar(10))+'节' 阅读全文
posted @ 2016-08-12 09:38 blackhole1 阅读(188) 评论(0) 推荐(0)
摘要: select optorname, NVL(现金, 0) as 现金, NVL(银行卡, 0) as 银行卡, NVL(会员卡, 0) as 会员卡, NVL(礼品卡, 0) as 礼品卡, NVL(微信, 0) as 微信, NVL(支付宝, 0) as 支付宝, NVL(会员, 0) as 会员 阅读全文
posted @ 2016-08-12 09:33 blackhole1 阅读(179) 评论(0) 推荐(0)
摘要: create database link DBLINK_klyconnect to user_name identified By pwdusing '(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168. 阅读全文
posted @ 2016-08-12 09:25 blackhole1 阅读(2608) 评论(0) 推荐(0)
摘要: 使用.net创建一个ashx文件,并response.write json格式public void ProcessRequest(HttpContext context) { context.Response.ContentType = "text/pl... 阅读全文
posted @ 2015-02-03 17:06 blackhole1 阅读(184) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2014-09-15 17:21 blackhole1 阅读(378) 评论(0) 推荐(0)
摘要: 大家都知道,Asp.net是在服务器端执行的程序,无法直接与客户端的设备进行通信,但是客户提出了能否直接在网页上调用二代身份证读卡器。 一、解决思路 经过我们的分析,理论上是完全可行的。下面描述一下这个问题的解决思路。 1.编写一个AcitiveX控件,通过该控件就可以连接到... 阅读全文
posted @ 2014-04-11 21:01 blackhole1 阅读(741) 评论(0) 推荐(0)
摘要: public partial class Json : System.Web.UI.Page { List PrList = new List(); String strjson = null; protected void Page_Load(object s... 阅读全文
posted @ 2014-04-01 15:40 blackhole1 阅读(177) 评论(0) 推荐(0)
摘要: //代码仅供参考 如果强行复制请修改页面id //查询数据库符合条件的数据 function SelectAlterNativeVenues(field) { var xmlhttp; var pid = document.getElementById("nameandaddress... 阅读全文
posted @ 2014-03-27 09:53 blackhole1 阅读(290) 评论(0) 推荐(0)
摘要: substr用在js中var arr="1,2,3,4,5,6"; alert(arr.substr(arr.length-1,arr.length)); 这时候弹出的会是6 如果想要在C#中达到这样的效果 写法如下: string str="1,2,3,4,5,6"; response.w... 阅读全文
posted @ 2014-03-27 09:40 blackhole1 阅读(166) 评论(0) 推荐(0)