03 2015 档案

摘要:.aspx:附件上传 序号附件名称附件大小操作 ' target="_blank"> KB ' runat="server" /> 上传附件aspx.cs:protected void btnUploadAttach_Click(obje... 阅读全文
posted @ 2015-03-17 15:06 CalabashSun 阅读(201) 评论(0) 推荐(0) 编辑
摘要:protected void btnExportZip_Click(object sender,EventArgs e){string archiveName=String.Format("zip文件名{0}-{1}.zip",CurrentUser.DepartmentName,DateTime.... 阅读全文
posted @ 2015-03-17 10:24 CalabashSun 阅读(246) 评论(0) 推荐(0) 编辑
摘要:转自 :http://blog.csdn.net/wangxiaohu__/article/details/7254598parse用于从一个字符串中解析出json对象,如var str = '{"name":"huangxiaojian","age":"23"}'结果:JSON.parse(str... 阅读全文
posted @ 2015-03-13 14:50 CalabashSun 阅读(176) 评论(0) 推荐(0) 编辑
摘要:在应用有frameset或者iframe的页面时,parent是父窗口,top是最顶级父窗口(有的窗口中套了好几层frameset或者iframe),self是当前窗口, opener是用open方法打开当前窗口的那个窗口。window.self功能:是对当前窗口自身的引用。它和window属性是等... 阅读全文
posted @ 2015-03-11 17:30 CalabashSun 阅读(123) 评论(0) 推荐(0) 编辑
摘要:1-枚举页面:using System;using System.Collections.Generic;using System.ComponentModel;using System.Linq;using System.Text;namespace KDSoft.KDMAPS.Domain.En... 阅读全文
posted @ 2015-03-09 14:42 CalabashSun 阅读(153) 评论(0) 推荐(0) 编辑