Added check for empty row in DataSet.cs