摘要:
安装sql server 2008 management,提示错误:此计算机上安装了 Microsoft Visual Studio 2008 的早期版本。请在安装 SQL Server 2008 前将 VS2008 升级到 SP1。解决方法: 修改注册表。运行注册表,将HKEYLocalMachi... 阅读全文
摘要:
1、执行以下sql语句即可删除所有存储过程--/**********删除所有存储过程*************************/--use 数据库名godeclare @tname varchar(8000)set @tname=''select @tname=@tname + Name ... 阅读全文
摘要:
background: url(images/20140626175950.jpg) repeat-x scroll 0 0; 阅读全文
摘要:
#region 文件上传 代码 /// /// 上传文件 /// /// 要保存的路径 protected void SaveFile(string SaveFilePath) { ... 阅读全文
摘要:
原文地址:http://blog.csdn.net/lhfly/article/details/7684319整理两个 在C#中,用正则表达式 获取网页源代码标签的属性或值的方法 :1、获取标签中的值: CSDN 结果:CSDN /// /// 获取字符中指定标签的值 ... 阅读全文
摘要:
后台代码:public void ProcessRequest(HttpContext context)//只是大概个例子 为了学习{ context.Response.ContentType = "application/json"; string[] ... 阅读全文
摘要:
select top 每页条数 * from ( SELECT ROW_NUMBER() OVER (ORDER BY id desc) AS RowNumber,* FROM Article 条件 ) A WHERE A.RowNumber > 每页条数*(当前页数-1)示例:select to... 阅读全文
摘要:
1、js 判断客户端 2、asp.net/C#判断客户端类型 string str_u = Request.ServerVariables["HTTP_USER_AGENT"]; if (str_u.ToLower().IndexOf("windows")... 阅读全文
摘要:
//根据指定网址判断当前页面的编码 static public string GetWebpageCode(string url) { string charSet = ""; WebClient myWebCl... 阅读全文