Exemplo n.º 1
0
        public Int32 FindRecord_RS(String SQLWhere, System.Data.DataSet ds)
        {
            System.Data.DataSet dsClone;
            dsClone = ds.Copy();
            Int32 iMatches = 0;

            System.Data.DataRow[] drMatches;
            drMatches = dsClone.Tables[0].Select(SQLWhere);

            if (drMatches.Count() > 0)
            {
                iMatches = drMatches.Count();
            }

            return(iMatches);
        }