摘要: 可以先将text类型更改为nvarchar,在将nvarchar更改为ntext即可。 alter db_note alter column [content] nvarchar; alter db_note alter column [content] ntext; 阅读全文
posted @ 2014-12-19 21:11 bysxiang 阅读(835) 评论(0) 推荐(0) 编辑
摘要: 在.Net中,要想被foreach遍历,那么目标对象要实现IEnumerable或IEnumerable接口,这个接口有一个方法,GetEnumerator(),返回一个IEnumerator接口,这个接口里定义了Next()等方法,例如:public class Garge : IEnumera... 阅读全文
posted @ 2014-12-19 17:20 bysxiang 阅读(291) 评论(0) 推荐(0) 编辑