but in try statement i wrote multiple conditions to check either conditions is true or false
MY PROBLEM IS: page_load of try statement is check first query only after goes to catch statement directly and an error is Sequence contains no elements
i want to check all conditions in page_load using LINQ Queries.
Posted Sep 26, 2013, 11:03 AM
error is Sequence contains no elements, this means, the query does not returned any records, but your trying to get access it like result.ToList() or something like that.
So make sure, your're accessing it properly.
If possible, please share your code.