Fork me on GitHub
摘要: 开始:@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) 编辑