KimhillZhang  
上一页 1 ··· 8 9 10 11 12 13 14 15 16 下一页

2010年5月29日

摘要: using System;using System.Collections.Generic;using System.Text;using System.IO;namespace StreamReader类{ class Program { //static void Main(string[] args) //{ //} public static void Main() { string pa... 阅读全文
posted @ 2010-05-29 10:35 KimhillZhang 阅读(438) 评论(0) 推荐(0) 编辑
 
摘要: 使用 System.IO 和 Visual C# .NET 读取文本文件在 Visual C# .NET 中读取文本文件 打开和读取文件进行读取访问是输入/输出 (IO) 功能的一个非常重要的部分,即使您不需要写入到相关文件,也是如此http://www.alixixi.com/Dev/Web/ASPNET/aspnet3/2007/2007050734418.html确保项目至少引用了 Syst... 阅读全文
posted @ 2010-05-29 10:31 KimhillZhang 阅读(1320) 评论(0) 推荐(0) 编辑

2010年5月25日

摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication2{ public class Program { public static void Main() { testTime t = new testTime(); string ... 阅读全文
posted @ 2010-05-25 17:27 KimhillZhang 阅读(355) 评论(0) 推荐(0) 编辑
 
摘要: 今天有一个需求需要进行以“;”和“,”为分割符把数据分隔开,然后再插入数据库里,用存储过程实现;如字符串为:kimhillzhang,20;jinshanzhang,25,现在要以kimhillzhang 20 为一条数据插入数据库,以jinshanzhang 25为一条数据插入数据库name agekimhillzhang 20jinshanzha... 阅读全文
posted @ 2010-05-25 14:31 KimhillZhang 阅读(1778) 评论(0) 推荐(0) 编辑

2010年5月24日

摘要: protected void Page_Load(object sender, EventArgs e) { IList<string> AList = new List<string>(); AList.Add("KimhillZhangA"); AList.Add("KimhillZhangB"); AList.Add("KimhillZhangC"); IList&l... 阅读全文
posted @ 2010-05-24 15:16 KimhillZhang 阅读(582) 评论(1) 推荐(1) 编辑

2010年5月18日

摘要: 文本编辑器,里面含一个Demo,下载:CKEditorAndCKFinder转:http://www.cnblogs.com/loogn/archive/2010/05/18/1738349.html 阅读全文
posted @ 2010-05-18 17:09 KimhillZhang 阅读(271) 评论(0) 推荐(1) 编辑

2010年5月17日

摘要: 从网上看的:第一种:select * from (Select row_number() over(order by NewsID asc) AS rownum, NewsID, NewsTitle,NewsText From T_NewsTBL) as a where rownum >= 1 and rownum <= 5第二种:select T_NewsTBL.NewsID, T_... 阅读全文
posted @ 2010-05-17 17:03 KimhillZhang 阅读(300) 评论(0) 推荐(0) 编辑

2010年5月15日

摘要: 转:http://www.cnblogs.com/simonblog/archive/2010/05/12/1733139.htmlusing System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data;namespace ConsoleApplication1{ pub... 阅读全文
posted @ 2010-05-15 15:14 KimhillZhang 阅读(964) 评论(0) 推荐(1) 编辑
 
摘要: 下面的两种加密我已经忘记从哪个人的博客里拷下来的,如果有看到一样的请多多包含;一:DES加密算法:using System;using System.Collections.Generic;using System.Text;using System.Configuration; using System.IO; using System.Security; using System.Securi... 阅读全文
posted @ 2010-05-15 14:53 KimhillZhang 阅读(737) 评论(0) 推荐(1) 编辑
 
摘要: 将数据保存到Cookie:代码如下:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><he... 阅读全文
posted @ 2010-05-15 14:19 KimhillZhang 阅读(805) 评论(0) 推荐(1) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 下一页