/// <summary>
 /// 获取留言的楼数
 /// </summary>
 /// <param name="id"></param>
 /// <returns></returns>
 public int GetCountForWhere(string id)
 {
     return(BuildSql.GetCount(strTable, " where fID<" + id));
 }
 /// <summary>
 /// 获取总条数
 /// </summary>
 /// <returns></returns>
 public int GetCount()
 {
     return(BuildSql.GetCount(strTable));
 }
 /// <summary>
 /// 根据指定条件返回总记录数
 /// </summary>
 /// <param name="sqlWhere"></param>
 /// <returns></returns>
 public int GetCountForWhere(string sqlWhere = "")
 {
     return(BuildSql.GetCount(strTable, sqlWhere));
 }