谢谢 急求!!!
求详解!谢谢!
public DataSet GetList(string strWhere)
{ StringBuilder strSql = new StringBuilder();
strSql.Append("select u_id,u_rollName,u_roll,u_userName,u_pwd,u_realName,u_company,u_post,u_mobile,u_telephone,u_mail,u_business,u_state,u_obligate1,u_obligate2,u_obligate3,u_lv,u_date,u_sn,u_country,u_city,u_sex ");
strSql.Append(" FROM rs_user ");
if (strWhere.Trim() != "")
{ strSql.Append(" where " + strWhere);
}return base.GetDataSet(strSql.ToString()); }
|