摘要:
调用 var b = $ajax("WebApplication1._Default.GetDataSet", ["23"]);js:/*方法全名,参数,类所在的程序集名称(当方法类所在的命名空间不是程序集名称时请传参数来)*/function $ajax(paramMethod, paramVal... 阅读全文
posted @ 2014-07-31 15:53
胡卫军
阅读(372)
评论(0)
推荐(0)
摘要:
protected void Page_Load(object sender, EventArgs e) { //这个你可以直接指定路径,当然可以接收从另外一页传过来的参数,再有一个就是从数据库取出来啦。 string file = ResolveUrl("~/Flv/歌曲:王菲《传奇》.fl... 阅读全文
posted @ 2014-07-31 15:49
胡卫军
阅读(233)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2014-07-31 11:14
胡卫军
阅读(233)
评论(0)
推荐(0)
摘要:
Table的聚合函数Compute (表达式,条件)中简单的聚合函数string strSumAccount = myDs.Tables[0].Compute("SUM(AccountMoney(列))", "").ToString(); 计算datatable的列的总和分页PagedDataSou... 阅读全文
posted @ 2014-07-31 10:55
胡卫军
阅读(186)
评论(0)
推荐(0)
摘要:
ClientScript.RegisterStartupScript(ClientScript.GetType(), "myscript", ""); 阅读全文
posted @ 2014-07-31 10:54
胡卫军
阅读(139)
评论(0)
推荐(0)
摘要:
string[] myArrayList = paramID.Split(new char[] { ',' }, StringSplitOptions.RemoveEmptyEntries); 阅读全文
posted @ 2014-07-31 10:53
胡卫军
阅读(256)
评论(0)
推荐(0)
摘要:
无异步的 js = "window.parent.onComplete(" + System.Convert.ToString(uploadInfo.State != "Stop").ToLower() + ");"; } ScriptManager.RegisterStartupScript(... 阅读全文
posted @ 2014-07-31 10:51
胡卫军
阅读(101)
评论(0)
推荐(0)
摘要:
$(document).ready(function () { }); window.onload=方法;页面加载完触发var iWidth = 300; //窗口宽度 var iHeight = 200; //窗口高度 var iTop = (window.screen.height - iH... 阅读全文
posted @ 2014-07-31 10:50
胡卫军
阅读(320)
评论(0)
推荐(0)
摘要:
onerror=\"this.src='images/Null.gif'\" //默认图片 阅读全文
posted @ 2014-07-31 10:46
胡卫军
阅读(111)
评论(0)
推荐(0)
摘要:
//yyyy-mm-ddfunction ChangeDateFormat(time) { if (time != null) { var date = new Date(parseInt(time.replace("/Date(", "").replace(")/", ""), 10)); var... 阅读全文
posted @ 2014-07-31 10:38
胡卫军
阅读(599)
评论(0)
推荐(0)
摘要:
定位浮动style="position:fixed; float:none; top:30px; margin:auto"div浮动position:fixed;Z-INDEX:99; top:20%; left:30%; 阅读全文
posted @ 2014-07-31 10:25
胡卫军
阅读(132)
评论(0)
推荐(0)
摘要:
style="cursor:pointer"javascript:void() 阅读全文
posted @ 2014-07-31 10:24
胡卫军
阅读(115)
评论(0)
推荐(0)
摘要:
word-break: break-all; word-wrap:break-word; 阅读全文
posted @ 2014-07-31 10:23
胡卫军
阅读(129)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2014-07-31 10:21
胡卫军
阅读(134)
评论(0)
推荐(0)
摘要:
Visible="false" 不显示控件readonly="false" 无法改变数值enabled="false" 不相应鼠标事件 阅读全文
posted @ 2014-07-31 10:17
胡卫军
阅读(139)
评论(0)
推荐(0)
摘要:
只能输入中文 只能输入英文和数字 只能是数字 只能显示,不能修改的文本框/限制字数 阅读全文
posted @ 2014-07-31 10:16
胡卫军
阅读(177)
评论(0)
推荐(0)
摘要:
《--内容--》 阅读全文
posted @ 2014-07-31 10:15
胡卫军
阅读(91)
评论(0)
推荐(0)
摘要:
with myCte as(select * from RS_Comment where id=10000004union allselect RS_Comment.* from RS_Comment inner join myCte on RS_Comment.ParantID=myCte.id... 阅读全文
posted @ 2014-07-31 10:13
胡卫军
阅读(166)
评论(0)
推荐(0)
摘要:
不断执行timer1=setInterval(方法名,500);(500毫秒)clearInterval(timer1);取消不断执行js 延迟执行setTimeout(function () { window.location.reload() }, 3000); 阅读全文
posted @ 2014-07-31 10:04
胡卫军
阅读(127)
评论(0)
推荐(0)
摘要:
bind 绑定 $("#btnSave").bind("click", BtnSaveClick);function BtnSaveClick(){...}$("#btnSave").click() 执行事件unbind 删除绑定 阅读全文
posted @ 2014-07-31 10:02
胡卫军
阅读(191)
评论(0)
推荐(0)
浙公网安备 33010602011771号