会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
胡卫军
博客园
首页
新随笔
联系
管理
订阅
2014年8月1日
简单的存储过程
摘要: 一、创建存储过程 和数据表一样,在使用之前我们需要创建存储过程,它的简明语法是:QUOTE:CREATE PROC 存储过程名称 [参数列表(多个以“,”分隔)]ASSQL 语句例:QUOTE:CREATE PROC upGetUserName@intUserId INT,@ostrUserName...
阅读全文
posted @ 2014-08-01 11:59 胡卫军
阅读(389)
评论(0)
推荐(0)
2014年7月31日
前台调用后台函数
摘要: 调用 var b = $ajax("WebApplication1._Default.GetDataSet", ["23"]);js:/*方法全名,参数,类所在的程序集名称(当方法类所在的命名空间不是程序集名称时请传参数来)*/function $ajax(paramMethod, paramVal...
阅读全文
posted @ 2014-07-31 15:53 胡卫军
阅读(372)
评论(0)
推荐(0)
flv mp4视频播放
摘要: protected void Page_Load(object sender, EventArgs e) { //这个你可以直接指定路径,当然可以接收从另外一页传过来的参数,再有一个就是从数据库取出来啦。 string file = ResolveUrl("~/Flv/歌曲:王菲《传奇》.fl...
阅读全文
posted @ 2014-07-31 15:49 胡卫军
阅读(233)
评论(0)
推荐(0)
防止异步刷掉jquery加载绑定事件
摘要:
阅读全文
posted @ 2014-07-31 11:14 胡卫军
阅读(233)
评论(0)
推荐(0)
table数据再次处理
摘要: 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)
Split生成的数组没有空字符
摘要: 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 胡卫军
阅读(100)
评论(0)
推荐(0)
js jq 一些属性
摘要: $(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)
下一页