Fork me on GitHub
上一页 1 ··· 5 6 7 8 9
摘要: public string GetTreeNav(int ID,int Num) { StringBuilder sb = new StringBuilder(); sb.Append("[{\"id\":1,\"text\":\"根目录\",\"children\":["); sb.Append(GetTreeSon... 阅读全文
posted @ 2014-04-21 13:35 乔闻 阅读(266) 评论(0) 推荐(0) 编辑
摘要: window.onload = function () { document.getElementById('text1').onblur = function () { if (isNaN(document.getElementById('text1').value)) { 验证输入的字符是否为数字 al... 阅读全文
posted @ 2014-04-21 13:33 乔闻 阅读(264) 评论(0) 推荐(0) 编辑
摘要: string url = "https://quanapi.sinaapp.com/fetion.php?u=" + PhoneNum + "&p=" + PhonePassword + "&to=" + ToNum + "&m=" + ToContent; 阅读全文
posted @ 2014-04-21 13:31 乔闻 阅读(120) 评论(0) 推荐(0) 编辑
摘要: select t.*, t.rowid from tb_bz_content t join tb_bz_class c on t.lb=c.id where c.flid=85select * from Article where ArticleClassID in (select ID from Class where ParentID=11) 阅读全文
posted @ 2014-04-21 13:30 乔闻 阅读(138) 评论(0) 推荐(0) 编辑
摘要: //缩放和布局 $(window).resize(function () { $('#BZ_Content').datagrid('resize', { width: getWidth(1),height: getheight(1) }) }); 阅读全文
posted @ 2014-04-21 13:25 乔闻 阅读(134) 评论(0) 推荐(0) 编辑
摘要: WEB.config: 数据库类:DBTool.cs: public class DBTool { public OracleConnection GetConnection() { string str = ConfigurationManager.ConnectionStrings["conn"].Connectio... 阅读全文
posted @ 2014-04-21 13:22 乔闻 阅读(716) 评论(0) 推荐(1) 编辑
摘要: select * from (select t.*,rownum no from " + table + " t where scbj=0)where (no>(" + PageNo + "-1)*" + PageSize + " and no(1-1)*20 and no<=(1)*20)update TB_BZ_CONTENT set MC='名称99',LB=1,WZDZ='名称99',D... 阅读全文
posted @ 2014-04-21 13:20 乔闻 阅读(355) 评论(0) 推荐(0) 编辑
摘要: context.Response.ContentType = "text/html"; string fullpath = context.Server.MapPath("hello.htm"); context.Response.Write(fullpath); string content = System.IO.File.ReadAllText(fu... 阅读全文
posted @ 2014-04-21 13:17 乔闻 阅读(588) 评论(0) 推荐(1) 编辑
摘要: ///宁采花 8:37:39/// /// 获取数据链接 /// /// public OracleConnection GetConnection() { string str = Configur... 阅读全文
posted @ 2014-04-21 13:09 乔闻 阅读(297) 评论(0) 推荐(0) 编辑
摘要: 开始:@echo halt oracle service ...net start OracleServiceORCLnet start OracleOraDb11g_home1TNSListenerpause关闭:@echo halt oracle service ...net start OracleServiceORCLnet start OracleOraDb11g_home1TNSListenerpause 阅读全文
posted @ 2014-01-22 10:35 乔闻 阅读(216) 评论(0) 推荐(0) 编辑
摘要: #nav ul { display: none; position: absolute; padding-top: 0px;}#nav li:hover ul { display: block;} 阅读全文
posted @ 2014-01-22 10:34 乔闻 阅读(120) 评论(0) 推荐(0) 编辑
摘要: //获取get值 function getPar(par) { //获取当前URL var local_url = document.location.href; //获取要取得的get参数位置 var get = local_url.indexOf(par + "="); if (get == -1) { return false; } //截取字符串 var get_par = local_url.slice(par.length + get ... 阅读全文
posted @ 2014-01-22 10:32 乔闻 阅读(747) 评论(0) 推荐(0) 编辑
摘要: select * from(select t.*,rownum no from(select * from prosystem order by productiondate asc)t) where (no>(3-1)*5 and no(1-1)*20 and no(1-1)*20 and no<=(1)*20)" 阅读全文
posted @ 2014-01-22 10:30 乔闻 阅读(117) 评论(0) 推荐(0) 编辑
摘要: to_date('" + Convert.ToDateTime(TCRQ).ToString("yyyy-MM-dd")+"','YYYY-MM-DD'),Convert.ToDateTime(dt.Rows[i]["TCRQ"].ToString()).ToString("yyyy-MM-dd") 阅读全文
posted @ 2014-01-22 10:30 乔闻 阅读(828) 评论(0) 推荐(0) 编辑
摘要: string sql = "insert into EMST_JC_SBXX(XL,SBBM,SBWH,SBMC,CCBM,XNCS,CZXL,ZL,GL,ZZCJ,TCRQ,SYQX,XHGG,ZT,SFTZSB,CGJ,TH,BZ) values(EMST_JC_SBXX_XL.nextval,'" + SBBM + "','" + SBWH + "','" + SBMC + "','" + CCBM + "','" + 阅读全文
posted @ 2014-01-22 10:29 乔闻 阅读(207) 评论(0) 推荐(0) 编辑
摘要: webconfig 阅读全文
posted @ 2014-01-22 10:26 乔闻 阅读(92) 评论(0) 推荐(0) 编辑
摘要: WEB.config: 数据库类:DBTool.cs: public class DBTool { public OracleConnection GetConnection() { string str = ConfigurationManager.ConnectionStrings["conn"].ConnectionString; OracleConnection conn = new OracleConnection(str); return conn; ... 阅读全文
posted @ 2014-01-22 10:25 乔闻 阅读(306) 评论(0) 推荐(0) 编辑
摘要: Viewstate 处理不是form中可以传值的标签 进行传值.可以禁用元素的viewstate 也可以禁用页面的Enableviewstate=”false”;(在配置区域写)内网系统,互联网后台可以尽情的用viewstate EnableViewState="false" //禁用viewstate Response.Write("Label1的?值μ是?:" + Label1.Text + ""); //第二次输出label Label1.Text = "100"; Response.Write(" 阅读全文
posted @ 2014-01-22 10:23 乔闻 阅读(662) 评论(0) 推荐(0) 编辑
摘要: table {border-collapse: collapse;}table td{border: 1px solid #CCCCCC;} 阅读全文
posted @ 2014-01-22 10:20 乔闻 阅读(164) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9