摘要: 看到§猪阿不猪§提到一个DataTable.Select的注意事项: 注意去掉不正确的单引号.平时项目中,我们一般是直接在写filter语句时这样写theName = theName.Replace("'","''");string filter = string.Format("Name = '{0}'", theName);不过有时候也比较麻烦, 如果你的filter里面c... 阅读全文
posted @ 2010-05-02 19:19 pensir 阅读(782) 评论(0) 推荐(0) 编辑