Pages
Home
React JS
React Native
SQL Server
C#.net
Interview
Videos
Angular
ASP.Net
AJAX
Contact Us
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"
);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment