.NET中常见对象

.NET中六大内置对象:1.Response    2.Request   3.Session   4.Appliction  5.Server  6.Cookie

System.Web.HttpContext.Current.Server.MapPath()
System.Web.HttpContext.Current.Session
System.Web.HttpContext.Current.Response
System.Web.HttpContext.Current.Request

ADO.NET中五大对象分别是:

1、Connection(连接数据库)
2、Command(执行T-SQL语句)
3、DataAdapter(用户填充DataSet,断开模式)
4、DataReader(读取数据库,一种只读模式,只向前的)
5、DataSet(数据集,好比电脑的内存)
原文地址:https://www.cnblogs.com/hanwenhua/p/3848104.html