数据操作方法:
//分页查询未审核材料申请
public static DataTable GetMSTitleToPage(int page)
{
object[] args = { "@page", SqlDbType.Int, 4, page };
DataSet ds = DbHelperSQL.ExecuteQuery("MS_GetTitleToPage", CommandType.StoredProcedure, args);
DataTable table = ds.Tables[0];
return table;
}
现在我想要分页查询关于某个userID的申请分页列表,怎么传userID和page这两个参数呢?