摘要: DataTable dt = ds.Tables[0]; DataRow[] drs = dt.Select("Id=" + categoryID ); 解决方法:将参数用单引号阔起来 DataRow[] drs = dt.Select("Id='" + categoryID + "'"); 阅读全文
posted @ 2014-12-19 18:19 平民的麦田 阅读(1323) 评论(0) 推荐(0) 编辑