Pages
Home
React JS
React Native
SQL Server
C#.net
Interview
Videos
Angular
ASP.Net
AJAX
Contact Us
Showing posts with label
Exists
.
Show all posts
Showing posts with label
Exists
.
Show all posts
8 July 2014
How to check if a value exists in a datatable in c#
bool
exists = dt.Select().ToList().Exists(row => row[
"row_name"
].ToString() ==
"value"
);
Older Posts
Home
Subscribe to:
Posts (Atom)