Exemplo n.º 1
0
 public int GetRecordCount(string strWhere)
 {
     return(DataBase.Base_count("Orders", strWhere));
 }
Exemplo n.º 2
0
        public int getFirstOrderYearMonth(String agentId, int yearMonth, OleDbTransaction tr)
        {
            String sql = "select count(1) from Orders where AgentId='" + agentId + "' and State=1 and YearMonth<" + yearMonth;

            return(DataBase.Base_count(sql, tr));
        }