摘要: using System;using System.Collections;using System.Collections.Generic;using System.Collections.Specialized;using System.Web;using System.Text;using System.Xml;using System.Configuration;/// ///Common 的摘要说明/// public class Common{ /// /// 将XML文档对象转换成字符串 /// /// XML文档对象 /// 字符串 pu... 阅读全文
posted @ 2013-11-15 09:00 无处安放的青春 阅读(251) 评论(0) 推荐(0) 编辑
摘要: public static string GetSeats(string _f_az, string _s_az, string _airCom, string _trip, string _date, decimal _yPrice) { // SA--Q1SA--AAAS-SS-AS-SQ-A- // 1-8: number of seat; A: seat number >= 9 GetAirSeats(_airCom, _trip, _date, _yPrice); // get seat codes & discount ... 阅读全文
posted @ 2013-11-15 08:57 无处安放的青春 阅读(1257) 评论(0) 推荐(0) 编辑
摘要: C#1.在CallBack之后保持滚动条的位置:在Asp.Net1.1中,CallBack之后保持滚动条的位置是一件非常痛苦的事情,特别是页中有一个Grid并且想要编辑特定的行。为了不停留在想 要得行,页面会重新加载并且必须在顶部向下滚动。在ASP2.0中,只需要简单的在页面的属性中加入 MaintainScrollPostionOnPostBack属性即可2.匿名委托实现自定义排序publicvoidSortByCommentCount(ListarticleList,boolascending){articleList.Sort(delegate(Articlea,Articleb){r. 阅读全文
posted @ 2013-10-09 16:10 无处安放的青春 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2013-09-25 22:47 无处安放的青春 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2013-09-25 21:52 无处安放的青春 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2013-09-23 16:42 无处安放的青春 阅读(226) 评论(0) 推荐(1) 编辑
摘要: 阅读全文
posted @ 2013-09-23 16:29 无处安放的青春 阅读(155) 评论(0) 推荐(1) 编辑
摘要: foidsajfd 阅读全文
posted @ 2013-09-11 22:27 无处安放的青春 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2013-09-03 20:52 无处安放的青春 阅读(198) 评论(0) 推荐(0) 编辑
摘要: 一、StreamReader类共有10个构造函数StreamReader (Stream) // 为指定的流初始化 StreamReader 类的新实例。[csharp]view plaincopyFileStreamfs=newFileStream(@"D:\Readme.txt",FileMode.Open);StreamReadersr=newStreamReader(fs);StreamReader (String) //为指定的文件名初始化 StreamReader 类的新实例。[csharp]view plaincopyStreamReadersr=newStr 阅读全文
posted @ 2013-09-02 09:21 无处安放的青春 阅读(872) 评论(0) 推荐(1) 编辑