2016年10月10日
摘要:
string filename = AppDomain.CurrentDomain.BaseDirectory + "DefaultStart.xml"; XmlDocument xmlDoc = new XmlDocument(); xmlDoc.Load(filename); XmlNode xm...
阅读全文
posted @ 2016-10-10 16:28
ningmou
阅读(246)
推荐(0)
2016年9月28日
摘要:
--P_CODE 重复列 DELETE FROM Tab WHERE P_CODE IN (SELECT P_CODE FROM Tab GROUP BY P_CODE HAVING COUNT(P_CODE) > 1) AND ROWID NOT IN (SELECT MIN(ROWID) FROM Tab GROUP BY P_CODE HAVING COUNT(*) > 1);
阅读全文
posted @ 2016-09-28 11:22
ningmou
阅读(131)
推荐(0)
2016年9月20日
摘要:
Point 点图类型。 FastPoint 快速点图类型。 FastPoint 快速点图类型。 Bubble 气泡图类型。 Line 折线图类型。 Spline 样条图类型。 StepLine 阶梯线图类型。 FastLine 快速扫描线图类型。 Bar 条形图类型。 StackedBar 堆积条形
阅读全文
posted @ 2016-09-20 16:04
ningmou
阅读(278)
推荐(0)
摘要:
导出 private void btnExport_Click(object sender, EventArgs e) { try { if (dataGridView1.Rows.Count == 0) { MessageBox.Show("无数据可导出!", "提示"); return; } //建立Excel对象 Microsoft.Office.Interop.Excel.A...
阅读全文
posted @ 2016-09-20 14:11
ningmou
阅读(470)
推荐(0)
2016年9月19日
摘要:
COUNT(s.apply_id) QUITCOUNT, count(case when T.CL_FLAG=1 then 1 else null end ) JQUITCOUNT, count(case WHEN T.CL_FLAG=0 then 1 else null end ) FQUITCO
阅读全文
posted @ 2016-09-19 17:32
ningmou
阅读(151)
推荐(0)
2016年7月28日
摘要:
添加</iframe>关闭标签即可,非<iframe id="aa" />此类型关闭 <iframe id="dataDetail" name="ifame1" width="100%" height="645px" style=" border:0" src="Dedtail.aspx" targ
阅读全文
posted @ 2016-07-28 10:58
ningmou
阅读(424)
推荐(0)
摘要:
asp.net后台动态拼接html 1、href链接拼接: 无需添加参数引号 参数中不允许空格 eg: StringBuilder sb= new StringBuilder(); sb.Append("<a ID='LinkButton" + str + "' href=Dedtail.aspx?
阅读全文
posted @ 2016-07-28 10:53
ningmou
阅读(841)
推荐(0)
2016年7月20日
摘要:
A表字段更新为B表的字段值 T1表 结构 id name school 1 ming1 清华大学 2 ming2 北京大学 3 ming3 复旦大学 T2表 结构 id student school 11 ming1 牛津大学 12 ming3 剑桥大学 T1表的name 和 T2表的 studen
阅读全文
posted @ 2016-07-20 11:34
ningmou
阅读(14553)
推荐(0)
2016年7月11日
摘要:
//总过夜天数 decimal counts = table.AsEnumerable().Where(n => n.Field<string>("analy_type") == "合计").Sum(n => n.Field<decimal>("counts")); //培训率 decimal px
阅读全文
posted @ 2016-07-11 17:09
ningmou
阅读(362)
推荐(0)
2016年7月7日
摘要:
row_number() over ([partition by col1] order by col2); over(order by salary range between 5 preceding and 5 following):窗口范围为当前行数据幅度减5加5后的范围内的。 注意: 1.在
阅读全文
posted @ 2016-07-07 15:14
ningmou
阅读(183)
推荐(0)