1.gridview提交后字体变大问题的解决方法 [文档定义模型,这个dtd的规则与以前的不同]
http://blog.csdn.net/antyi/archive/2007/05/18/1615811.aspx
2.关于VS2005中GridView的自定义分页,单选、多选、排序、自增列的简单应用
http://blog.csdn.net/antyi/archive/2006/09/02/1159239.aspx
3.GridView多行合并与多列合并[RowCreated事件处理Header行]
http://www.cnblogs.com/chinafine/articles/668071.html
4.GridView分页保存CheckBox状态[分页的时候保存选中的状态,加载选中的状态]
http://blog.csdn.net/antyi/archive/2007/05/03/1595793.aspx
5.SQLDMO- -(数据备份与恢复篇)
http://www.cnblogs.com/ajaxren/archive/2007/04/28/730497.html
6.关于winform一些资料
http://www.cnblogs.com/peterzb/tag/WinForm/
6.blog
http://dflying.cnblogs.com/
1.1里面HashTable ArrayList里面都是object类型,2.0里面泛型对此做了优化
Dictionary<>其实就好比HashTable.类型更加安全。Dictionary遍历输出的顺序,就是加入的顺序,这点与Hashtable不同,hashtable好像是后进先出的。
List<> 类是 ArrayList 类的泛型等效类。
tag:1.1集合
2.关于迭代器
//1.1数据集合类
public class Person : IEnumerable
{
public string[] m_Names;
public Person(params string[] Names)
{
m_Names = new string[Names.Length];
Names.CopyTo(m_Names, 0);
}
public string this[int index]
{
get { return m_Names[this]; }
set { m_Names[this] = value; }
}
IEnumerator IEnumerable.GetEnumerator()
{
//返回一个包含对象的迭代器
return new PersonEnumerator(this);
}
}
//集合元素类
public class PersonEnumerator : IEnumerator
{
int index = -1;
Person p;
public PersonEnumerator(Person p)
{ this.p = p; }
object IEnumerator.Current
{
get { return p.m_Names[index]; }
}
bool IEnumerator.MoveNext() {
//向下移动一位
}
void IEnumerator.Reset() { index = -1; }
}

//2.0没有实现集合元素类,编译器自动完成这个
class Persons<T> : IEnumerable<T>
{
private T[] m_Names;
public Persons(params T[] Names)
{
m_Names = new T[Names.Length];
Names.CopyTo(m_Names, 0);
}
//使用yield实现简单的迭代器
public IEnumerator<T> GetEnumerator()
{
for (int i = 0; i < m_Names.Length; i++)
{
//使用yield 依次返回每个元素
yield return m_Names[i];
//yield break;终止迭代
}
}
IEnumerator IEnumerable.GetEnumerator()
{
return GetEnumerator();
}
}



