2012年7月20日

摘要: PHP 开发环境的配置。。。。。 阅读全文
posted @ 2012-07-20 09:30 fangsj 阅读(95) 评论(0) 推荐(0)
 
摘要: 关于Sql游标的使用,请看下面的例子就什么都明白了。declare @id nvarchar(20) --定义变量来保存ID号declare @A float --定义变量来保存值declare mycursor cursor for select * from tb_c --为所获得的数据集指定游标open mycursor --打开游标fetch next from mycursor into @id,@A --开始抓第一条数据while(@@fetch_status=0) --如果数据集里一直有数据beginselecttb_b.name,(tb_b.gz + @A) from tb_b 阅读全文
posted @ 2012-07-20 09:19 fangsj 阅读(156) 评论(0) 推荐(0)
 
摘要: 我现在有一个js方法SearchClients() 我要求在页面打开时,或者弹出Div上输入某些信息时,用户直接键入回车键,就马上调用SearchClient()方法,下面给出的js就是为了处理这种情况。functionprocessKeyForSearchClients(e) { var isie = (document.all) ? true : false; var key; if (isie) key = window.event.keyCode; else key = e.which; if (key == 13) SearchClient... 阅读全文
posted @ 2012-07-20 09:18 fangsj 阅读(174) 评论(0) 推荐(0)
 
摘要: Cookie操作1,存储Cookie:private void SaveCookies() { Response.Cookies.Clear(); Response.Cookies.Add(new HttpCookie(Resources.Strings.Cookies_UserName, mUsernameTextBox.Text)); Response.Cookies.Add(new HttpCookie(Resources.Strings.Cookies_Password, mPasswordTextBox.Text)); foreach (strin... 阅读全文
posted @ 2012-07-20 09:11 fangsj 阅读(113) 评论(0) 推荐(0)