摘要:
1.ActionLink@Html.ActionLink("这是一个连接", "Index", "Home")带有QueryString的写法@Html.ActionLink("这是一个连接", "Index", "Home", new { page=1 },null)@Html.ActionLin... 阅读全文
摘要:
五大对象分别是:1、Connection(连接数据库)2、Command(执行T-SQL语句)3、DataAdapter(用户填充DataSet,断开模式)4、DataReader(读取数据库,一种只读模式,只向前的)5、DataSet(数据集,好比电脑的内存) 阅读全文
摘要:
ASP.NET 内置对象包括 1.Response 2.Request 3.Server 4.Application 5.Session 6.Cookie1 Request对象主要是让服务器取得客户端浏览器的一些数据,包括从HTML表单用Post或者GET方法传递的参数、Cookie和用户认证。2 ... 阅读全文