智能替换DataTable.Select中会导致错误的单引号
摘要: 看到§猪阿不猪§提到一个DataTable.Select的注意事项: 注意去掉不正确的单引号.平时项目中,我们一般是直接在写filter语句时这样写theName = theName.Replace("'","''");string filter = string.Format("Name = '{0}'", theName);不过有时候也比较麻烦, 如果你的filter里面c...
阅读全文
System.Int32&是个啥?
摘要: 在.Net中存在不从Object继承的类吗?
阅读全文