经常忘记,随手记下来
for (int i = dt.Columns.Count-1; i >=0; i--) { dt.Columns.RemoveAt(i); }
← 使用CodeDOM动态编译一个字符串表达式 错误ResGen.exe已退出,代码为2 的解决方法 →