摘要: 我们一般的思维是:Like 参数:string strSql = "select * from Person.Address where City like ’%@add%’";SqlParameter[] Parameters=new SqlParameter[1];Parameters[0] = new SqlParameter("@add", "bre");In 参数string strSql = "select * from Person.Address where AddressID in (@add)" 阅读全文
posted @ 2012-04-18 22:38 大智若简 阅读(203) 评论(0) 推荐(0) 编辑