上一页 1 ··· 6 7 8 9 10 11 下一页
该文被密码保护。 阅读全文
posted @ 2012-05-09 16:00 bert.zeng 阅读(0) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2012-05-03 09:59 bert.zeng 阅读(0) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2012-04-19 09:19 bert.zeng 阅读(1) 评论(0) 推荐(0)
摘要: Changing the Framework version requires a restart of the W3SVC service. 分类: Asp.Net 2010-11-15 11:31 521人阅读 评论(0) 收藏 举报Changing the Framework version requires a restart of the W3SVC service. Alternatively, you can change the Framework version without restarting the W3SVC... 阅读全文
posted @ 2012-03-27 23:33 bert.zeng 阅读(1979) 评论(1) 推荐(0)
摘要: declare @page int --第几页declare @rownum int --记录数set @page=3set @rownum=15set rowcount @rownumSELECT * FROM ( SELECT ROW_NUMBER() OVER (ORDER BY id) AS RowNum,* FROM t_department ) A WHERE A.RowNum > @rownum*(@page-1)----------------返回该表有几页declare @rownum int --@rownum 记录行set @rownum=30select ( (c 阅读全文
posted @ 2012-03-06 16:51 bert.zeng 阅读(89) 评论(0) 推荐(0)
摘要: XmlDocument xmlDoc = new XmlDocument(); XmlNode xmlNode = xmlDoc.CreateNode(XmlNodeType.XmlDeclaration, "", ""); xmlDoc.AppendChild(xmlNode); //加入根元素 XmlElement xmlElem = xmlDoc.CreateElement("", "ROOT", ""); //xmlElem.SetAttribute("color", 阅读全文
posted @ 2012-02-24 11:52 bert.zeng 阅读(129) 评论(0) 推荐(0)
摘要: web.config 引用<configuration><system.web.webPages.razor> <pages pageBaseType="System.Web.Mvc.WebViewPage"> <namespaces> <add namespace="xEasyApp.Core.Extensions"/> //添加引用空间 </namespaces> </pages> </system.web.webPages.razor></conf 阅读全文
posted @ 2012-02-12 23:23 bert.zeng 阅读(896) 评论(0) 推荐(0)
摘要: CREATE PROCEDURE [dbo].[usp_RandomPassword] ( @Length INT = 8)ASBEGIN DECLARE @RandomPassword NVARCHAR(MAX) = N'',@L INT = 1 --随机密码将由下面字符串产生,数字0-9,大写字母A-Z,小写字母a-z DECLARE @BaseString VARCHAR(255) = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz' WHILE @L <= @Lengt 阅读全文
posted @ 2012-02-01 09:48 bert.zeng 阅读(399) 评论(0) 推荐(0)
摘要: //SCHGNContextRepository.csusing System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data.Entity;using System.Linq.Expressions;using System.Data.SqlClient;namespace SCHGN.DAL{ public class SCHGNContextRepository<T>:IRepository<T> where T :class { prot 阅读全文
posted @ 2012-01-31 09:52 bert.zeng 阅读(185) 评论(0) 推荐(0)
摘要: PM> install-package efcodefirst 。 阅读全文
posted @ 2012-01-16 17:05 bert.zeng 阅读(60) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 下一页