摘要: 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) 编辑
摘要: 获取客户端控件的Id1.var hdReceiveBaseDept = '#' HypeLink的url属性2.hlFirstMail.Text = firstMail.Title; hlFirstMail.NavigateUrl = "SiteMailDetail.aspx?SiteMailId=... 阅读全文
posted @ 2015-02-25 14:38 CalabashSun 阅读(181) 评论(0) 推荐(0) 编辑
摘要: eg:$('.setIsEnableClosed').click(function(){var id=$(id).attr("name");var isChecked=$(this).prop("checked");$.ajax({url:"../../ashx/Widget.ashx",data:... 阅读全文
posted @ 2015-02-09 14:07 CalabashSun 阅读(383) 评论(0) 推荐(0) 编辑
摘要: 1.select * from dbo.Consum_AccountPaymentLog Where CHARINDEX(',1,',','+RelatedUserIDs+',')>0charindex在一个表达式中搜索另一个表达式并返回其起始位置(如果找到)。之所以‘1’的两边加上‘,’号是为了防... 阅读全文
posted @ 2015-01-20 09:39 CalabashSun 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 1.英文格式的日期转为中文格式eg:string englishDate="03-04-2012"; string chineseDate=Regex.replace(englishdate,@"(\d{2})-(\d{2})-(\d{4})","$3年-$1月-$2日");2.前台json传值给后... 阅读全文
posted @ 2015-01-12 10:52 CalabashSun 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 如果页面中不用Ajax,cs中运行某段js代码方式可以是:Page.ClientScript.RegisterStartupScript(Page.GetType(), "", "");如果页面中使用了Ajax ,则上述代码即使执行也无效果。对这种情况我们通常采用:ScriptManager.Reg... 阅读全文
posted @ 2015-01-06 09:05 CalabashSun 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 导航目录: Home About us Main Industries Gov support Advantages I... 阅读全文
posted @ 2014-12-23 11:54 CalabashSun 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 全站搜索: 阅读全文
posted @ 2014-12-23 11:29 CalabashSun 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 1.模板页 .master 引入模板页MasterPageFile="~/MasterPage/Main.Master"2.用户控件 .ascx .ascx.cs: /// /// 信息分类Id ... 阅读全文
posted @ 2014-12-23 11:23 CalabashSun 阅读(114) 评论(0) 推荐(0) 编辑
摘要: (一)CommandName:其实可以设置成一种动作,比如Select,Update,Delete,等操作。就是说CommandName是确定他到底引发的是哪一事件,如果CommandName的名字 等 于datalist 的事件的名字 他就引发事件CommandArgument:可以设置,如果是D... 阅读全文
posted @ 2014-12-19 09:13 CalabashSun 阅读(240) 评论(0) 推荐(0) 编辑