This blog how how Validate DataSet if
have data, in the language of C#, I have create a method that return true or
false.
public
bool HashDataset(DataSet ds)
{
if (!ds.Tables.Contains("NameDataset"))
return false;
int index = ds.Tables["NameDataset"].Rows.Count;
if (index < 1)
return false;
return true;
}