Monday, August 26, 2019

How to test if a DataSet is empty?

this should work for you

if (ds.Tables[0].Rows.Count == 0)
{
    //
}

No comments:

Post a Comment