Home > Net >  For help, how to use linq in datatable, c # a column in the query a line to a line whether there is
For help, how to use linq in datatable, c # a column in the query a line to a line whether there is

Time:11-27

For help, how to use linq in datatable, c # a column in the query a line to a line whether there is a number

CodePudding user response:

 
Var dt=new DataTable ();
Var exists=dt. AsEnumerable (.) Any (d=& gt; D.F ield (" your field ")=="a");
  •  Tags:  
  • C#
  • Related