会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Yida_婷婷
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
下一页
2015年6月12日
Cookie的使用及位置
摘要: 1、cookie生成文件存放的位置:(某些文件可能被隐藏) C:\Users\zhangmengting(用户)\AppData\Roaming\Microsoft\Windows\Cookies2、cookie 的保存 HttpCookie cookie = new HttpCookie("...
阅读全文
posted @ 2015-06-12 09:44 Yida_婷婷
阅读(1294)
评论(0)
推荐(0)
2015年6月11日
用存储过程进行的查询拼接
摘要: DAl: #region 查询拼接 public DataView SelectAppend(string username, string sex, string permission) { string procedure = "exec dbo.zmt_procedure @usern...
阅读全文
posted @ 2015-06-11 15:51 Yida_婷婷
阅读(275)
评论(0)
推荐(0)
验证码的使用
摘要: 前台: 验证码: 看不清?换一张 前台js: function changeCode() { document.getElementById('ValidateButton').src = document.getElementById('ValidateButton').src + '?'...
阅读全文
posted @ 2015-06-11 11:04 Yida_婷婷
阅读(257)
评论(0)
推荐(0)
2015年6月10日
SQLHelper
摘要: SQLHelper的数据库配置:
阅读全文
posted @ 2015-06-10 09:06 Yida_婷婷
阅读(167)
评论(0)
推荐(0)
2015年6月2日
App_code的引用
摘要: 大家都知道在App_Code里的类,我们在引用它的时候是不需要引入命名空间的。那么为什么还是不能直接调用呢?2问题出在它的生成操作的方式上。具体解决方法如下:3我们首先找到不能引用的类文件,如下:4我们右击它,如下:5我们点击属性,如下:6我们把“生成操作”属性值改为“编译”,如下:7然后我们会发现...
阅读全文
posted @ 2015-06-02 16:43 Yida_婷婷
阅读(313)
评论(0)
推荐(0)
GridView使用
摘要: http://www.cnblogs.com/sufei/archive/2010/03/27/1698590.html
阅读全文
posted @ 2015-06-02 13:26 Yida_婷婷
阅读(135)
评论(0)
推荐(0)
javascript、ajax验证
摘要: 后台:if (!String.IsNullOrEmpty(Request["action"]) && Request["action"] == "ajax") { string username = Request["z_username"]; string permission = Request...
阅读全文
posted @ 2015-06-02 11:07 Yida_婷婷
阅读(275)
评论(0)
推荐(0)
2015年5月12日
数据库小结(三)
摘要: 1、创建唯一标识: create table zz(id uniqueidentifier,name nvarchar(10) ); insert into zz(name) values('zmt'); select newid() from zz;2、区别: ...
阅读全文
posted @ 2015-05-12 08:52 Yida_婷婷
阅读(158)
评论(0)
推荐(0)
2015年5月5日
数据库操作(七)存储过程
摘要: //创建存储过程alter procedure zmt_firstpro@condition nvarchar(1000)asbegin--set nocount ondeclare @strsql nvarchar(1000)set @strsql = 'select username from ...
阅读全文
posted @ 2015-05-05 14:37 Yida_婷婷
阅读(220)
评论(0)
推荐(0)
2015年4月27日
数据库操作(六)、Date函数
摘要: 1、dateadd(datepart,number,date):在向指定日期加上一段时间的基础上,返回新的 datetime 值 注:datepart:year,quarter(季度),month,dayofyear,day,week,hour,minute,second,millisecond,...
阅读全文
posted @ 2015-04-27 14:53 Yida_婷婷
阅读(660)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
下一页
公告