ASP.NET常用的类
系统类
Type类,Object类,String类, Array类,Console类, Exception类,GC类, MarshalByRefObject类, Math类。
DateTime结构,Guid 结构,
ICloneable接口,IComparable接口,IConvertible接口, IDisposable类,
集合类
ICollection接口,IComparer接口,IDictionary接口。IDictionaryEnumerator接口 ,IEnumerable接口,
IEnumerator接口,IHashCodeProvider接口,IList接口,
Stack 类,Queue类 ArrayList类,Hashtable类,SortedList类 CollectionBase类,DictionBase类
DictionEntry结构。
输入输出
字节流
Stream类,BufferedStream类,FileStream类,MemoryStream类
二进制I/O流
BinaryReader类,BinaryWriter类。
字符I/O流
TextReader类,TextWriter类,StreamReader类,StreamWriter类,StringReader类,StringReader类,StringWriter类。
I/O枚举
FileAccess枚举,FileAttributes枚举,FileMode枚举,FileShare枚举。
文件系统操作类
FileSystemInfo类 Directory类,Directoryinfo类 ,File类,Fileinfo类
反射
应用程序层次结构类
Assembly类,Module类,
成员信息类
Memberinfo类,MethodBase类,ConstructorInfo类,EventInfo类
MainifestResourceInfo类 Methodinfo类,ParameterInfo类,propertyInfo类
SystemReflection的其他成员,
Binder类,BindingFlags枚举 IReflect枚举 Pointer类
文件操作
Encoding类 ,AscIIEndoing类,UnicodeEncoding类,
UTF7Encoding类 UTF8Encoding类,Decoder类
StringBuilder类
正则表达式
Capture类
CaptureCollection类
Group类
Match类 MatchCollection类
Regex类
RegexOptions枚举
多线程
Thread类,Monitor类,WaitHandle类,Mutex类 ReaderWriterLock类。ThreadPool类,Timeout类,
InterLocked类,
ThreadStart委托、
ThreadPriority枚举,ThreadState枚举
相关文档:
问:为什么session在有些机器上偶尔会丢失?
答:可能和机器的环境有关系,比如:防火墙或者杀毒软件等,尝试关闭防火墙。
问:为什么当调用session.abandon时并没有激发session_end方法?
答:首先session_end方法只支持inproc(进程内的)类型的session。其次要激发session_en ......
xtreeView.js
---==========================================================
var ie5=document.all&&document.getElementById
var ns6=document.getElementById&&!document.all
if (ie5||ns6)
var menuobj=document.getElementById("Panel2")
function showmenuie5(e)
{
&n ......
在使用asp.net编写webservice时,默认情况下是不支持session的,但我们可以把WebMethod的EnableSession选项设为true来显式的打开它,请看以下例子:
1 新建网站WebSite
2 新建web服务WebService.asmx,它具有以下两个方法:
[WebMethod(EnableSession = true)]
public string Login(string name)
{
  ......
String.IndexOf 方法 (value, [startIndex], [count])
报告指定字符在此实例中的第一个匹配项的索引。搜索从指定字符位置开始,并检查指定数量的字符位置。
参数
value
要查找的 Unicode 字符。 对 value 的搜索区分大小写。
startIndex(Int32)
可选项,搜索起始位置。不设置则从0开始。
......