摘要: 错误描述:在 Range 对象中,Min (12)必须小于或等于 max (-1)。 DataSet ds = new DataSet(); try { ds.ReadXml(Application.StartupPath + "\\T_Category.xml"); } catch (IOException ioe) { throw ioe; } DataTable dt = ds.Tables[0]; DataRow[] drs = dt.Select("Id=" + categoryID );解决方法:将参数用单引号阔起来DataRow[] drs 阅读全文
posted @ 2011-06-29 16:33 徐文峰 阅读(5164) 评论(2) 推荐(1)