摘要:
我们一般的思维是: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)" 阅读全文