会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
团子先生
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
下一页
2016年3月9日
后台获取页面传入值,并验证
摘要: 调用方法: string sysId = WebTool.getValue(Request, "sysId"); public static string getValue(System.Web.HttpRequest request, string key) { string keyValue =
阅读全文
posted @ 2016-03-09 18:11 团子先生
阅读(343)
评论(0)
推荐(0)
2016年3月4日
导入Excel表的前台页面和后台代码
摘要: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Sabbaticalimport.aspx.cs" Inherits="hr_Sabbatical_Sabbaticalimport" %> <!DOCTYPE html PUBLIC "
阅读全文
posted @ 2016-03-04 16:55 团子先生
阅读(1496)
评论(0)
推荐(0)
根据相对路径在一般处理程序中删除文件的方法
摘要: File.Delete(System.Web.HttpContext.Current.Server.MapPath("../" + img)); //System.Web.HttpContext.Current.Server.MapPath("../" + img) ----这个可以获取调用这个一般
阅读全文
posted @ 2016-03-04 10:24 团子先生
阅读(514)
评论(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 团子先生
阅读(336)
评论(0)
推荐(0)
点击按钮先执行JS判断之后在进入后台代码
摘要: <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 团子先生
阅读(1173)
评论(0)
推荐(0)
2016年3月2日
在线文本编辑器kindeditor简单化
摘要: $(document).ready(function () { KindEditor.ready(function (K) { editor = K.create('#txtMainContent', { cssPath: '../../common/kindeditor/plugins/code/
阅读全文
posted @ 2016-03-02 18:49 团子先生
阅读(169)
评论(0)
推荐(0)
2016年2月29日
jQuery时间验证和转换为标准格式的时间
摘要: 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 团子先生
阅读(493)
评论(0)
推荐(0)
sql查询结果直接拼接
摘要: 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 团子先生
阅读(440)
评论(0)
推荐(0)
jquery分割字符串取值
摘要: var strs = new Array(); var res="a*b"; strs = res.split("*"); strs[0] 的值为a, strs[1] 的值为b
阅读全文
posted @ 2016-02-29 17:21 团子先生
阅读(1340)
评论(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 团子先生
阅读(360)
评论(0)
推荐(0)
上一页
1
2
3
4
下一页
公告