摘要: 调用方法: string sysId = WebTool.getValue(Request, "sysId"); public static string getValue(System.Web.HttpRequest request, string key) { string keyValue = 阅读全文
posted @ 2016-03-09 18:11 团子先生 阅读(337) 评论(0) 推荐(0) 编辑
摘要: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Sabbaticalimport.aspx.cs" Inherits="hr_Sabbatical_Sabbaticalimport" %> <!DOCTYPE html PUBLIC " 阅读全文
posted @ 2016-03-04 16:55 团子先生 阅读(1486) 评论(0) 推荐(0) 编辑
摘要: File.Delete(System.Web.HttpContext.Current.Server.MapPath("../" + img)); //System.Web.HttpContext.Current.Server.MapPath("../" + img) ----这个可以获取调用这个一般 阅读全文
posted @ 2016-03-04 10:24 团子先生 阅读(504) 评论(0) 推荐(0) 编辑
摘要: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Vote_SubjectAdd.aspx.cs" Inherits="oa_vote_Vote_SubjectAdd" %> <!DOCTYPE html PUBLIC "-//W3C// 阅读全文
posted @ 2016-03-04 10:17 团子先生 阅读(329) 评论(0) 推荐(0) 编辑
摘要: <asp:Button ID="btnTrue" runat="server" Text="保 存" OnClientClick="if(checkResult()){this.value='正在保存';this.disabled=true;}else {return false ;}" UseSu 阅读全文
posted @ 2016-03-04 10:14 团子先生 阅读(1161) 评论(0) 推荐(0) 编辑
摘要: $(document).ready(function () { KindEditor.ready(function (K) { editor = K.create('#txtMainContent', { cssPath: '../../common/kindeditor/plugins/code/ 阅读全文
posted @ 2016-03-02 18:49 团子先生 阅读(164) 评论(0) 推荐(0) 编辑
摘要: var TimeObjectUtil; /** * @title 时间工具类 * @note 本类一律违规验证返回false * @author {boonyachengdu@gmail.com} * @date 2013-07-01 * @formatter "2013-07-01 00:00:0 阅读全文
posted @ 2016-02-29 17:53 团子先生 阅读(487) 评论(0) 推荐(0) 编辑
摘要: select a.*,(a.startTime+'|'+a.endTime) as states from OA_Vote_Subject as a where 1=1 拼接后的states为 2016-02-02 00:00:00|2016-02-29 00:00:00 阅读全文
posted @ 2016-02-29 17:25 团子先生 阅读(432) 评论(0) 推荐(0) 编辑
摘要: var strs = new Array(); var res="a*b"; strs = res.split("*"); strs[0] 的值为a, strs[1] 的值为b 阅读全文
posted @ 2016-02-29 17:21 团子先生 阅读(1328) 评论(0) 推荐(0) 编辑
摘要: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Vote_SubjectItemAdd.aspx.cs" Inherits="oa_vote_Vote_SubjectItemAdd" %> <!DOCTYPE html PUBLIC " 阅读全文
posted @ 2016-02-29 11:08 团子先生 阅读(329) 评论(0) 推荐(0) 编辑