摘要:        
this.Response.Cookies["adminusers"].Expires = DateTime.Now.AddDays(-1); Response.Cookies.Add(Request.Cookies["adminusers"]); Response.Redirect("/login.aspx"); 为什么不能设置过期呢是因为你没写入客户端把cookie Response...    阅读全文
        posted @ 2009-02-26 19:23
bestsaler
阅读(178)
评论(0)
推荐(0)
            
        
        
摘要:        
c#字符串转数字的函数|c#字符串转数字的无错函数|c#字符串转数字的最好函数 //字符串转整数 public int GetInt(string str) { int tempInt = 0; int.TryParse(str,out tempInt); return tempInt; } /字符串转整数浮点 public decimal GetDecimal(string str...    阅读全文
        posted @ 2009-02-26 10:17
bestsaler
阅读(181)
评论(0)
推荐(0)
            
        
        
摘要:        
create function fun_getPY(@str nvarchar(4000))returns nvarchar(4000) as begin declare @word nchar(1),@PY nvarchar(4000) set @PY='' while len(@str)>0 begin set @word=left(@str,1) --如果非汉字字符,返回原字符 set @P...    阅读全文
        posted @ 2009-02-26 09:44
bestsaler
阅读(204)
评论(0)
推荐(0)
 
                    
                     
                    
                 
                    
                 
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号