Beispiel #1
0
        /// <summary>
        ///BLL方法:查找数据库中的数据条数([例如:select Count(*) from... where "XXX"="YYY"],查询整体数据条数Count(*)请传入"1","1"-->sql语句拼接"where 1=1")------>请传入数据库的列名,数据库的值,返回首行首列
        /// </summary>
        /// <returns></returns>
        public int GetCount(string strDBColumnName, string strSelValue)
        {
            T_HR_GZLLDAL Td = new T_HR_GZLLDAL();
            int          c  = Td.GetCount(strDBColumnName, strSelValue);

            return(c);
        }