10 2013 档案

摘要:以下两种方法哪个不报错就用哪个。用法都是在TreeView标签中加入OnClick="",然后引入函数名即可第一种方法:(摘自:http://www.cnblogs.com/freeliver54/archive/2007/09/04/881024.html)第二种方法(摘自:http://www.jb51.net/article/21808.htm) 阅读全文
posted @ 2013-10-16 11:43 追你追到 阅读(760) 评论(0) 推荐(0) 编辑
摘要:/// /// 绑定TreeView /// public void BindTreeView() { BLL.GroupBLL GroupBll = new BLL.GroupBLL(); DataTable GroupTable = GroupBll.GetGroup(); //先绑定根节点 for (int i = 0; i /// 读取TreeView节点的Value /// /// /// public string GetTreeViewValue(TreeNodeCollection nodes) { foreach (TreeNode tn in nodes) {... 阅读全文
posted @ 2013-10-10 15:57 追你追到 阅读(209) 评论(0) 推荐(0) 编辑
摘要:string path = Server.MapPath("~/Upload/"); string FileName = dt.Rows[0]["Files"].ToString(); string filePath = path + FileName; if (File.Exists(filePath)) { FileInfo file = new FileInfo(filePath); Response.ContentEncoding = System.Text.Encoding.GetEncoding("UTF-8"); Res 阅读全文
posted @ 2013-10-10 15:53 追你追到 阅读(163) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示