<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[lenovore的专栏]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/lenovore</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; lenovore]]></copyright><item><title><![CDATA[c# 字符串生成唯一长整型]]></title><link>https://blog.csdn.net/lenovore/article/details/9947667</link><guid>https://blog.csdn.net/lenovore/article/details/9947667</guid><author>lenovore</author><pubDate>Tue, 13 Aug 2013 14:22:38 +0800</pubDate><description><![CDATA[long toVid(string str)
        {
            str = System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile(str, "MD5");
            System.Security.Cryptography.MD5 md5 = new Sys]]></description><category></category></item><item><title><![CDATA[sqlserver 分页存储过程]]></title><link>https://blog.csdn.net/lenovore/article/details/8889136</link><guid>https://blog.csdn.net/lenovore/article/details/8889136</guid><author>lenovore</author><pubDate>Mon, 06 May 2013 10:06:47 +0800</pubDate><description><![CDATA[CREATE PROCEDURE Proc_Page(
	@ReturnList		nvarchar(max),--要查询的列
	@TabName			nvarchar(2000),--表名
	@TabKey			nvarchar(1000),--主键
	@PageIndex		int,--当前页
	@PageSize			int,--页的大小
	@SortList			nvarcha]]></description><category></category></item><item><title><![CDATA[asp.net 防止页面重复提交]]></title><link>https://blog.csdn.net/lenovore/article/details/8870869</link><guid>https://blog.csdn.net/lenovore/article/details/8870869</guid><author>lenovore</author><pubDate>Tue, 30 Apr 2013 22:41:15 +0800</pubDate><description><![CDATA[一、防止因网速慢重复点击
1.
中加EnableEventValidation="false".
//使按钮不可用并回调服务端事件    
protected 
void Page_Load(object sender, EventArgs e)
{
      btnSumbit.Attributes.Add("onclick", ClientScript.GetPostBackE]]></description><category></category></item><item><title><![CDATA[js 操作select,checkbox,radio]]></title><link>https://blog.csdn.net/lenovore/article/details/8851046</link><guid>https://blog.csdn.net/lenovore/article/details/8851046</guid><author>lenovore</author><pubDate>Thu, 25 Apr 2013 17:56:07 +0800</pubDate><description><![CDATA[一.select
1.JS
var os=document.getElementById('select');
var index = os.selectedIndex;//选中索引
var value = os.options[index].value;// 选中值
var text = os.options[index].text;// 选中文本
var attrvalue=os.]]></description><category></category></item><item><title><![CDATA[js 复制到收藏夹]]></title><link>https://blog.csdn.net/lenovore/article/details/8850496</link><guid>https://blog.csdn.net/lenovore/article/details/8850496</guid><author>lenovore</author><pubDate>Thu, 25 Apr 2013 16:51:34 +0800</pubDate><description><![CDATA[//url收藏的网页链接 name收藏夹名称
function addFav(url, name) {
    if (document.all) {
        window.external.addFavorite(url, name);
    }
    else if (window.sidebar) {
        window.sidebar.addPanel(n]]></description><category></category></item><item><title><![CDATA[c# 生成随机数]]></title><link>https://blog.csdn.net/lenovore/article/details/8805198</link><guid>https://blog.csdn.net/lenovore/article/details/8805198</guid><author>lenovore</author><pubDate>Mon, 15 Apr 2013 18:36:23 +0800</pubDate><description><![CDATA[private static char[] constant =   
          {   
            '0','1','2','3','4','5','6','7','8','9',  
            'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t']]></description><category></category></item><item><title><![CDATA[js 文本改变提示剩余字数]]></title><link>https://blog.csdn.net/lenovore/article/details/8798705</link><guid>https://blog.csdn.net/lenovore/article/details/8798705</guid><author>lenovore</author><pubDate>Sun, 14 Apr 2013 00:26:39 +0800</pubDate><description><![CDATA[window.onload = function () {
            var oDiv = document.getElementById('div1');
            var op = oDiv.getElementsByTagName('p')[0];
            var oT = oDiv.getElementsByTagName('textarea')]]></description><category></category></item><item><title><![CDATA[js 浏览器的判断]]></title><link>https://blog.csdn.net/lenovore/article/details/8798693</link><guid>https://blog.csdn.net/lenovore/article/details/8798693</guid><author>lenovore</author><pubDate>Sun, 14 Apr 2013 00:18:10 +0800</pubDate><description><![CDATA[var explorer = window.navigator.userAgent;
                        //ie 
                        if (explorer.indexOf("MSIE") >= 0) {
                            alert("ie");
                        }]]></description><category></category></item><item><title><![CDATA[jquery 弹出层]]></title><link>https://blog.csdn.net/lenovore/article/details/8795884</link><guid>https://blog.csdn.net/lenovore/article/details/8795884</guid><author>lenovore</author><pubDate>Sat, 13 Apr 2013 03:44:00 +0800</pubDate><description><![CDATA[#mask{width:100%;position:absolute;z-index:50;filter:alpha(opacity=50);opacity:0.5;background-color:gray;top:0px;left:0px;display:none;}
    #hintdiv{width:240px;padding:10px 20px;border:solid 2px gre]]></description><category></category></item><item><title><![CDATA[js 倒计时]]></title><link>https://blog.csdn.net/lenovore/article/details/8795882</link><guid>https://blog.csdn.net/lenovore/article/details/8795882</guid><author>lenovore</author><pubDate>Sat, 13 Apr 2013 03:39:11 +0800</pubDate><description><![CDATA[$(document).ready(function () {
            var endtime = new Date("2013/3/29 15:15:00");
            var nowtime = new Date();
            var maxtime = (endtime.getTime() - nowtime.getTime()) / 1000]]></description><category></category></item><item><title><![CDATA[js 复制到剪切板]]></title><link>https://blog.csdn.net/lenovore/article/details/8795881</link><guid>https://blog.csdn.net/lenovore/article/details/8795881</guid><author>lenovore</author><pubDate>Sat, 13 Apr 2013 03:34:08 +0800</pubDate><description><![CDATA[//复制到剪切板 只兼容IE FF 
       function copyToClipboard() {
            var txtlink = $("#linkcopy").text();
            if (window.clipboardData) {
                window.clipboardData.clearData();]]></description><category></category></item><item><title><![CDATA[jquery 评分]]></title><link>https://blog.csdn.net/lenovore/article/details/8795879</link><guid>https://blog.csdn.net/lenovore/article/details/8795879</guid><author>lenovore</author><pubDate>Sat, 13 Apr 2013 03:25:44 +0800</pubDate><description><![CDATA[<%--
    --%>
    
    
        $(document).ready(function () {
            $('#star').raty({
                hints: [0.5,1,1.5, 2,2.5], //显示的文本
                path: "image/raty", //图片路径]]></description><category></category></item><item><title><![CDATA[with as (摘自msdn)]]></title><link>https://blog.csdn.net/lenovore/article/details/8215347</link><guid>https://blog.csdn.net/lenovore/article/details/8215347</guid><author>lenovore</author><pubDate>Fri, 23 Nov 2012 10:10:16 +0800</pubDate><description><![CDATA[指定临时命名的结果集，这些结果集称为公用表表达式 (CTE)。该表达式源自简单查询，并且在单条 SELECT、INSERT、UPDATE 或 DELETE 语句的执行范围内定义。该子句也可用在 CREATE VIEW 语句中，作为该语句的 SELECT 定义语句的一部分。公用表表达式可以包括对自身的引用。这种表达式称为递归公用表表达式。

Transact-SQL 语法约定


语法]]></description><category></category></item><item><title><![CDATA[理解SQL SERVER中的逻辑读，预读和物理读]]></title><link>https://blog.csdn.net/lenovore/article/details/8200178</link><guid>https://blog.csdn.net/lenovore/article/details/8200178</guid><author>lenovore</author><pubDate>Mon, 19 Nov 2012 16:46:00 +0800</pubDate><description><![CDATA[SQL SERVER数据存储的形式

      在谈到几种不同的读取方式之前，首先要理解SQL SERVER数据存储的方式.SQL SERVER存储的最小单位为页(Page).每一页大小为8k，SQL SERVER对于页的读取是原子性，要么读完一页，要么完全不读，不会有中间状态。而页之间的数据组织结构为B树.所以SQL SERVER对于逻辑读，预读，和物理读的单位是页.]]></description><category></category></item><item><title><![CDATA[理解SQL SERVER中的分区表]]></title><link>https://blog.csdn.net/lenovore/article/details/8187965</link><guid>https://blog.csdn.net/lenovore/article/details/8187965</guid><author>lenovore</author><pubDate>Thu, 15 Nov 2012 17:37:04 +0800</pubDate><description><![CDATA[简介

    分区表是在SQL SERVER2005之后的版本引入的特性。这个特性允许把逻辑上的一个表在物理上分为很多部分。而对于SQL SERVER2005之前版本，所谓的分区表仅仅是分布式视图,也就是多个表做union操作.
    分区表在逻辑上是一个表，而物理上是多个表.这意味着从用户的角度来看，分区表和普通表是一样的。这个概念可以简单如下图所示：]]></description><category></category></item><item><title><![CDATA[ftp 上传文件]]></title><link>https://blog.csdn.net/lenovore/article/details/8103505</link><guid>https://blog.csdn.net/lenovore/article/details/8103505</guid><author>lenovore</author><pubDate>Tue, 23 Oct 2012 16:30:37 +0800</pubDate><description><![CDATA[public void Upload(string filename)
  {
  FileInfo fileInf = new FileInfo(filename);
  string uri = "ftp://" + ftpServerIP + "/" + fileInf.Name;
  FtpWebRequest reqFTP;

  //通过前面得到的uri创建FtpWebRe]]></description><category></category></item><item><title><![CDATA[fastreport.net 调用模板]]></title><link>https://blog.csdn.net/lenovore/article/details/8065540</link><guid>https://blog.csdn.net/lenovore/article/details/8065540</guid><author>lenovore</author><pubDate>Fri, 12 Oct 2012 17:42:45 +0800</pubDate><description><![CDATA[#region 报表打印相关
        bool FReportRunning;
        /// 
        /// 报表相关操作
        /// 
        /// PrintReport文件夹下的文件名
        /// 加载的数据源
        /// 0 设计，1 预览，2 打印
        /// 错误框控件]]></description><category></category></item><item><title><![CDATA[开启线程，打开窗体]]></title><link>https://blog.csdn.net/lenovore/article/details/8065516</link><guid>https://blog.csdn.net/lenovore/article/details/8065516</guid><author>lenovore</author><pubDate>Fri, 12 Oct 2012 17:38:51 +0800</pubDate><description><![CDATA[#region 开启线程，打开窗体
        public Form form;
        public void OpenChildForm()
        {
            Thread thread = new Thread(showform);
            thread.IsBackground = false;
            t]]></description><category></category></item><item><title><![CDATA[c# 导入导出excel]]></title><link>https://blog.csdn.net/lenovore/article/details/8065501</link><guid>https://blog.csdn.net/lenovore/article/details/8065501</guid><author>lenovore</author><pubDate>Fri, 12 Oct 2012 17:35:18 +0800</pubDate><description><![CDATA[#region 导入导出excel
        private SaveFileDialog SaveDialog;
        private OpenFileDialog OpenDialog;
        private Thread InvokeThread;
        private DialogResult InvokeResult;
        boo]]></description><category></category></item><item><title><![CDATA[SQL函数说明大全]]></title><link>https://blog.csdn.net/lenovore/article/details/8065462</link><guid>https://blog.csdn.net/lenovore/article/details/8065462</guid><author>lenovore</author><pubDate>Fri, 12 Oct 2012 17:24:34 +0800</pubDate><description><![CDATA[一旦成功地从表中检索出数据，就需要进一步操纵这些数据，以获得有用或有意义的结果。这些要求包括：执行计算与数学运算、转换数据、解析数值、组合值和聚合一个范围内的值等。
下表给出了T-SQL函数的类别和描述。




函数类别


作用




聚合函数 


执行的操作是将多个值合并为一个值。例如 COUNT、SUM、MIN
和 MAX。




配置函]]></description><category></category></item></channel></rss>