上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 17 下一页
摘要: <?xml version="1.0" encoding="UTF-8" standalone="no"?><templates><template autoinsert="false" context="gettercomment_context" deleted="false" description="Comment for getter method" ena... 阅读全文
posted @ 2010-06-08 21:14 夜色狼 阅读(302) 评论(0) 推荐(0) 编辑
摘要: 有人工作,有人继续上学,大家千万不要错过这篇文章,能看到这篇文章也是一种幸运,真的受益匪浅,对我有很大启迪,这篇文章将会改变我的一生,真的太好了,希望与有缘人分享,也希望对有缘人有所帮助!看完之后有种“相见恨晚”的感觉,特别激动,希望大家好好的珍藏这篇文章,相信多年以后,再来看这篇文章,一定有不同的感觉。 正如"打工皇帝"唐骏说:"我觉得有两种人不要跟别人争利益和价值回报... 阅读全文
posted @ 2010-04-18 16:04 夜色狼 阅读(867) 评论(0) 推荐(1) 编辑
摘要: 2010-03-17 21:35POI官方网址:http://poi.apache.org/POI的功能实在很强大,而且是apache的子项目,它下面又包含一些Component,比如处理Excel XLS,PowerPoint PPT,Word DOC,Outlook MSG,Excel XLSX等,下面就简单讲下poi处理excel的一些内容。下面的jar包来源于当前最新的poi 3.6版本。... 阅读全文
posted @ 2010-04-16 13:12 夜色狼 阅读(19916) 评论(2) 推荐(0) 编辑
摘要: 2009-12-11 10:14基于json-lib.jar包Json程序,本篇主要介绍一个简单的实例!1.首先Json-lib 需要至少有下列几个jar包的支持jakarta commons-lang 2.4 jakarta commons-beanutils 1.7.0 jakarta commons-collections 3.2 jakarta commons-logging 1.1.1 ... 阅读全文
posted @ 2010-04-16 13:09 夜色狼 阅读(645) 评论(0) 推荐(0) 编辑
摘要: <html><head><title> New Document </title><meta http-equiv="content-type" content="text/html; charset=gb2312"><style>.dwStyle { width:400px;font-family:宋体; font-size... 阅读全文
posted @ 2010-04-11 21:33 夜色狼 阅读(256) 评论(0) 推荐(0) 编辑
摘要: ViewState 的工作原理ViewState 确实没有什么神秘之处,它是由 ASP.NET 页面框架管理的一个隐藏的窗体字段。当 ASP.NET 执行某个页面时,该页面上的 ViewState 值和所有控件将被收集并格式化成一个编码字符串,然后被分配给隐藏窗体字段的值属性(即 <input type=hidden>)。由于隐藏窗体字段是发送到客户端的页面的一部分,所以 ViewSt... 阅读全文
posted @ 2010-04-11 19:08 夜色狼 阅读(226) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System.Data;using System.Text;using System.Collections.Generic;using System.Collections;namespace yd{ /// <su... 阅读全文
posted @ 2010-04-11 19:07 夜色狼 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 创建Response.Cookies["userName"].Value = "patrick";Response.Cookies["userName"].Expires = DateTime.Now.AddDays(1);HttpCookie aCookie = new HttpCookie("lastVisit");aCookie.Value = DateTime.Now.ToString()... 阅读全文
posted @ 2010-04-11 19:06 夜色狼 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 使用 StringBuilder 语言 C# String 对象是不可改变的。每次使用 System.String 类中的方法之一时,都要在内存中创建一个新的字符串对象,这就需要为该新对象分配新的空间。在需要对字符串执行重复修改的情况下,与创建新的 String 对象相关的系统开销可能会非常昂贵。如果要修改字符串而不创建新的对象,则可以使用 System.Text.StringBuilder 类。... 阅读全文
posted @ 2010-04-11 19:05 夜色狼 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 1usingSystem;2usingSystem.Web;3usingSystem.Web.UI;4usingSystem.Text;5usingSystem.IO;6usingSystem.Net;7usingSystem.Collections.Generic;8usingSystem.Configuration;9usingSystem.Xml;1011/**////<summary... 阅读全文
posted @ 2010-04-11 19:03 夜色狼 阅读(284) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 17 下一页