예제 #1
0
        public static bool Hasperson(string Id)
        {
            string sql = @"SELECT count(1) FROM dbo.Person WHERE PersonID=@id";

            return(SqlDataAccess.IsExist(sql, Id));
        }