How to check if the Dataset has records

If ds.Tables(0).Rows.Count= 0 then

'No record

else

'record found