随笔分类 - asp.net
C#中IEnumerable和IEnumerator区别
摘要:IEnumerator:是一个真正的集合访问器,提供在普通集合中遍历的接口,有Current,MoveNext(),Reset(),其中Current返回的是object类型。IEnumerable: 暴露一个IEnumerator(只包含一个抽象的方法GetEnumerator(),该方法返回一个...
阅读全文
.net 面试题总结
摘要:1. DataSet和DataReader的区别?DataReader:和数据库处于一直连接状态。只读只能向前读取,一次只能读取一行信息。DataReader每次只在内存中加载一条数据,内存占用少,高效率!Dateset:和数据库是断开的离线状态。返回都是数据集,可以对其中的数据做任意操作,Data...
阅读全文
Miscosoft Visual Studio项目guid取值
摘要:There isn't an easy way to change the type of a project in Visual Studio project once it is created; for example changing a C# Class Library into a Po...
阅读全文
.net MVC3 架构搭建描述
摘要:用visual studio创建.net MVC3 web项目时,默认情况下是将Views,Controllers,Models创建在一个项目中。需要把Controllers和Models做为两个独立项目第一步创建解决方案,选择MVC3项目,Internet模板第二步在该解决方案中创建两个类库,分别...
阅读全文
posted @ 2014-09-12 13:17
FreeBird
浙公网安备 33010602011771号