示例#1
0
        /// <summary>
        /// 根据字段取数据列表
        /// </summary>
        public DataSet GetList(string strField, string strWhere)
        {
            StringBuilder strSql = new StringBuilder();

            strSql.Append("select  " + strField + " ");
            strSql.Append(" FROM Navigation ");
            if (strWhere.Trim() != "")
            {
                strSql.Append(" where " + strWhere);
            }
            return(SqlHelperBook.Query(strSql.ToString()));
        }