上一页 1 ··· 7 8 9 10 11
摘要: cookie登录后同域名下的网站保持相同的登录状态。 登录 这样登录后,在同域名下的任何页面都可以得到用户状态 判断用户是否登录 得到当前的用户名 下面给大家一个具体的实例 CS页代码: 下面是aspx页面代码: 阅读全文
posted @ 2016-08-11 22:25 it写代码 阅读(3710) 评论(0) 推荐(0) 编辑
摘要: 页面代码: 后台代码: Web.config 配置: 阅读全文
posted @ 2016-08-11 22:22 it写代码 阅读(5821) 评论(1) 推荐(1) 编辑
摘要: 在asp.net 的项目中目前我觉得有两种情况,一种是没有使用模板页的,一种是使用了模板页的(我用的时候就是使用了模板页,我在网上查了很多,但是在模板页写的很少) 不废话了,开始步骤: 1.首先,下载编辑器,可以到百度官网上下载完整的,也可以自己定制需要的功能,再下载附上网址:http://uedi 阅读全文
posted @ 2016-08-10 13:47 it写代码 阅读(357) 评论(0) 推荐(0) 编辑
摘要: 定位导航列表 引用using System.Web.UI.HtmlControls; 添加标签为服务器控件 阅读全文
posted @ 2016-08-10 13:33 it写代码 阅读(315) 评论(0) 推荐(0) 编辑
摘要: 替换字段update 表名称 set zfw=replace(convert(varchar(50),zfw),'消费者权益','权益保护'); 替换字段为内容的 转换字段内所有内容前面加5个零,补齐六位;UPDATE 表名称 SET username = right('000000'+cast(i 阅读全文
posted @ 2016-08-10 13:27 it写代码 阅读(144) 评论(0) 推荐(0) 编辑
摘要: select a.biaoti,a.laiyuan,b.* from sab_xwgg as a join yhgl as b on charindex(cast(b.dm as nvarchar(max))+';',a.dm)>0 where b.dm='1' 加上全部为0时的显示select a 阅读全文
posted @ 2016-08-10 13:24 it写代码 阅读(1531) 评论(0) 推荐(0) 编辑
摘要: 查询全部 select dwmc,pjdf,row_number() over(order by pjdf desc) as paiming from Sab_hhb_zhb inner join jgdx on jgdx.mid=Sab_hhb_zhb.mid查询单个select paiming 阅读全文
posted @ 2016-08-10 13:23 it写代码 阅读(439) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11