Jun
16
Jun
15
Jun
14
microsoft Internet Explorer WebControls for ASP .NET
IEWebControls,Microsoft Internet Explorer WebControls for ASP .NET. 微软的ASP.NET控件合集。有TabStrip Web和MultiPage Web控件(制作选项卡式页面),Toolbar Web控件(工具条式页面),TreeView Web控件
下载文件 (已下载 22 次)
IEWebControls,Microsoft Internet Explorer WebControls for ASP .NET. 微软的ASP.NET控件合集。有TabStrip Web和MultiPage Web控件(制作选项卡式页面),Toolbar Web控件(工具条式页面),TreeView Web控件
下载文件 (已下载 22 次)
Jun
14
端午假期,今日雨水,独自去逛街,没有带伞,早上起来的时候这天气就隐晦,不晓得就下起雨来,只好又买了一把天堂,和朋友一起喝酒,看三国的片子,还有看些简单的文章,……
有时候发现生活很感性,坐在公交车中,烟雨迷蒙中穿行,凝望着雨水敲打着窗户,听着班得瑞的那首初雪,一滴一滴的,凉凉的感觉,这已是10年苏州的6月了,6月未央,每每夜晚却感觉这一年又要过往了,真是光阴似箭哪,不知道哪些往昔的朋友如今过的如何呢,,
喜欢的一首诗《断章》来自卞之琳
你站在桥上看风景,
看风景人在楼上看你。
明月装饰了你的窗子,
你装饰了别人的梦。
有时候发现生活很感性,坐在公交车中,烟雨迷蒙中穿行,凝望着雨水敲打着窗户,听着班得瑞的那首初雪,一滴一滴的,凉凉的感觉,这已是10年苏州的6月了,6月未央,每每夜晚却感觉这一年又要过往了,真是光阴似箭哪,不知道哪些往昔的朋友如今过的如何呢,,
喜欢的一首诗《断章》来自卞之琳
你站在桥上看风景,
看风景人在楼上看你。
明月装饰了你的窗子,
你装饰了别人的梦。
Jun
13
音乐动人,特别是纯音乐总是能在某个时刻打动你,班得瑞的纯音乐是那么甘甜,在寂静的夜晚静静聆听,让人沉静安详……
班得瑞《初雪》the first snowflakes,好美的名字,配以唯美的MV,无不让人感慨生活的美好,麦浪,浮云,野鸟,甘泉,一起享受这静谧的时刻,这美好的音乐吧!
班得瑞全球中文网:http://music.bandari.net/,里面很多音乐收藏,朋友们可以去看看听听……
班得瑞《初雪》the-first-snowflakes 纯音乐 世间最美的事物 世界上最美好的东西 初雪 初雪mtv班得瑞作品
MP3在线播放
班得瑞《初雪》the first snowflakes,好美的名字,配以唯美的MV,无不让人感慨生活的美好,麦浪,浮云,野鸟,甘泉,一起享受这静谧的时刻,这美好的音乐吧!
班得瑞全球中文网:http://music.bandari.net/,里面很多音乐收藏,朋友们可以去看看听听……
班得瑞《初雪》the-first-snowflakes 纯音乐 世间最美的事物 世界上最美好的东西 初雪 初雪mtv班得瑞作品
MP3在线播放
Jun
13
asp.net Cookie通用操作类
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Data;
using System.Configuration;
namespace Jhgl.Smart
{
/// <summary>
/// Cookie操作类
/// </summary>
public class Cookie
{
/// <summary>
/// 保存一个Cookie
/// </summary>
/// <param name="CookieName">Cookie名称</param>
/// <param name="CookieValue">Cookie值</param>
/// <param name="CookieTime">Cookie过期时间(小时),0为关闭页面失效</param>
public static void SaveCookie(string CookieName, string CookieValue, double CookieTime)
{
HttpCookie myCookie = new HttpCookie(CookieName);
DateTime now = DateTime.Now;
myCookie.Value = CookieValue;
if (CookieTime != 0)
{
//有两种方法,第一方法设置Cookie时间的话,关闭浏览器不会自动清除Cookie
//第二方法不设置Cookie时间的话,关闭浏览器会自动清除Cookie ,但是有效期
//多久还未得到证实。
myCookie.Expires = now.AddDays(CookieTime);
if (HttpContext.Current.Response.Cookies[CookieName] != null)
HttpContext.Current.Response.Cookies.Remove(CookieName);
HttpContext.Current.Response.Cookies.Add(myCookie);
}
else
{
if (HttpContext.Current.Response.Cookies[CookieName] != null)
HttpContext.Current.Response.Cookies.Remove(CookieName);
HttpContext.Current.Response.Cookies.Add(myCookie);
}
}
/// <summary>
/// 取得CookieValue
/// </summary>
/// <param name="CookieName">Cookie名称</param>
/// <returns>Cookie的值</returns>
public static string GetCookie(string CookieName)
{
HttpCookie myCookie = new HttpCookie(CookieName);
myCookie = HttpContext.Current.Request.Cookies[CookieName];
if (myCookie != null)
return myCookie.Value;
else
return null;
}
/// <summary>
/// 清除CookieValue
/// </summary>
/// <param name="CookieName">Cookie名称</param>
public static void ClearCookie(string CookieName)
{
HttpCookie myCookie = new HttpCookie(CookieName);
DateTime now = DateTime.Now;
myCookie.Expires = now.AddYears(-2);
HttpContext.Current.Response.Cookies.Add(myCookie);
}
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Data;
using System.Configuration;
namespace Jhgl.Smart
{
/// <summary>
/// Cookie操作类
/// </summary>
public class Cookie
{
/// <summary>
/// 保存一个Cookie
/// </summary>
/// <param name="CookieName">Cookie名称</param>
/// <param name="CookieValue">Cookie值</param>
/// <param name="CookieTime">Cookie过期时间(小时),0为关闭页面失效</param>
public static void SaveCookie(string CookieName, string CookieValue, double CookieTime)
{
HttpCookie myCookie = new HttpCookie(CookieName);
DateTime now = DateTime.Now;
myCookie.Value = CookieValue;
if (CookieTime != 0)
{
//有两种方法,第一方法设置Cookie时间的话,关闭浏览器不会自动清除Cookie
//第二方法不设置Cookie时间的话,关闭浏览器会自动清除Cookie ,但是有效期
//多久还未得到证实。
myCookie.Expires = now.AddDays(CookieTime);
if (HttpContext.Current.Response.Cookies[CookieName] != null)
HttpContext.Current.Response.Cookies.Remove(CookieName);
HttpContext.Current.Response.Cookies.Add(myCookie);
}
else
{
if (HttpContext.Current.Response.Cookies[CookieName] != null)
HttpContext.Current.Response.Cookies.Remove(CookieName);
HttpContext.Current.Response.Cookies.Add(myCookie);
}
}
/// <summary>
/// 取得CookieValue
/// </summary>
/// <param name="CookieName">Cookie名称</param>
/// <returns>Cookie的值</returns>
public static string GetCookie(string CookieName)
{
HttpCookie myCookie = new HttpCookie(CookieName);
myCookie = HttpContext.Current.Request.Cookies[CookieName];
if (myCookie != null)
return myCookie.Value;
else
return null;
}
/// <summary>
/// 清除CookieValue
/// </summary>
/// <param name="CookieName">Cookie名称</param>
public static void ClearCookie(string CookieName)
{
HttpCookie myCookie = new HttpCookie(CookieName);
DateTime now = DateTime.Now;
myCookie.Expires = now.AddYears(-2);
HttpContext.Current.Response.Cookies.Add(myCookie);
}
}
}
Jun
11
Jun
10









