CodePudding user response:
Var dt=new DataTable ();
Var exists=dt. AsEnumerable (.) Any (d=& gt; D.F ield(" your field ")=="a");
CodePudding user response:
Var dt=new DataTable ();
Var exists=dt. AsEnumerable (.) Any (d=& gt; D.F ield(" your field ")=="a");