[Solved] Find a vaule from columns of a dataset asp.net
I guess that is a DataTable inside a DataSet. First you need to query if the id is in the DataTable: var dataTable = dataSet.Tables[0]; //For this example I’m just getting the first DataTable of the DataSet, but it could be other. var id = 1; var value = “football”; //Any(…) will return true if … Read more