摘要: using System.IO; using System.Runtime.Serialization.Formatters.Binary; using System.Security.Cryptography; using System.IO.Compression; using System; public class Serialize { // 用于初始化对称密钥 priv... 阅读全文
posted @ 2008-09-02 09:29 booer 阅读(476) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace 泛型类和方法 { class Program { static void Main(string[] args) { Tperson p... 阅读全文
posted @ 2008-08-28 14:44 booer 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 答:public class MainClass { public static void Main() { Console.WriteLine(Foo(30)); } public static int Foo(int i) { ... 阅读全文
posted @ 2008-08-28 08:44 booer 阅读(950) 评论(7) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2008-08-27 08:31 booer 阅读(153) 评论(0) 推荐(0) 编辑
摘要: protected void Application_AuthenticateRequest(object sender, EventArgs e) { if (HttpContext.Current.Request.IsAuthenticated)//判断用户是否登陆 { if (Context.User.Identity.Aut... 阅读全文
posted @ 2008-08-27 08:29 booer 阅读(321) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlCont... 阅读全文
posted @ 2008-08-27 08:26 booer 阅读(403) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlCont... 阅读全文
posted @ 2008-08-27 08:21 booer 阅读(323) 评论(0) 推荐(0) 编辑
摘要: '" > ' NavigateUrl='' > ... 阅读全文
posted @ 2008-08-27 08:16 booer 阅读(516) 评论(5) 推荐(0) 编辑
摘要: protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { Getdata(); } } public void Getdata() { GridView1.DataSource ... 阅读全文
posted @ 2008-08-27 08:13 booer 阅读(511) 评论(0) 推荐(0) 编辑