Useful SharePoint Code Snippets
Customised scripts & codes useful in SharePoint 2010
Monday, 3 August 2015
LINQ to find specific value in column in Datatable c#
DataTable dt;
var foundrows = dt.Select("Column_Heading_Name = 'SomeValue'");
if(foundrows.Length > 0)
{
//do something
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment