摘要: <html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title></title> <script type="text/javascript"> function ischeck() { var txt1=documen 阅读全文
posted @ 2016-03-17 22:51 开开123 阅读(264) 评论(0) 推荐(0) 编辑
摘要: http://www.hcharts.cn/demo/index.php?p=33 阅读全文
posted @ 2016-03-17 14:29 开开123 阅读(101) 评论(0) 推荐(0) 编辑
摘要: a.aspx页面 <a id="a_anchor_2" href="#a_anchor_2" name="a_anchor_2" runat="server"></a> 上面这行代码类似于 <a name="a_anchor_2"></a> //定位的地方 <a href="#a_anchor_2" 阅读全文
posted @ 2016-03-17 13:04 开开123 阅读(179) 评论(0) 推荐(0) 编辑
摘要: for (int i = 1; i <= dt.Rows.Count; i++) { (this.FindControl("lblhwmc" + i) as Label).Text = DataHelper.ToString(dt.Rows[i]... 阅读全文
posted @ 2015-12-23 08:56 开开123 阅读(520) 评论(0) 推荐(0) 编辑
摘要: 各种控件、表单、树形菜单使用方法http://www.miniui.com/demo/#src=datagrid/pagerbuttons.html 阅读全文
posted @ 2015-12-07 17:24 开开123 阅读(891) 评论(0) 推荐(0) 编辑
摘要: update YF_MZFYZD set jjje=tbl.jjje from (select a.xh,sum(b.jjje) jjje from YF_MZFYZD a(nolock),YF_MZFYMX b(nolock)where a.xh=b.fyxh group by a.xh) tbl... 阅读全文
posted @ 2015-01-04 14:28 开开123 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 生成Word: protected void Button1_Click(object sender, EventArgs e) { Export("application/ms-word", "员工报表.doc"); } private void Export(string FileType, s... 阅读全文
posted @ 2014-11-17 16:11 开开123 阅读(114) 评论(0) 推荐(0) 编辑
摘要: Microsoft.Office.Interop.Word.Application appClass = new Microsoft.Office.Interop.Word.Application(); appClass.Visible = true; Object missing = Syste... 阅读全文
posted @ 2014-10-25 15:51 开开123 阅读(141) 评论(0) 推荐(0) 编辑
摘要: usingWordApplication=Microsoft.Office.Interop.Word.Application; usingDocument=Microsoft.Office.Interop.Word.Document; usingBookmark=Microsoft.Office.I... 阅读全文
posted @ 2014-10-25 15:50 开开123 阅读(163) 评论(0) 推荐(0) 编辑
摘要: string sKey = username.Text.ToString().Trim(); // 得到Cache中的给定Key的值 string sUser = Convert.ToString(Cache[sKey]); // 检查是否存在 if (sUser == null || sUser... 阅读全文
posted @ 2014-05-07 17:44 开开123 阅读(159) 评论(0) 推荐(0) 编辑