Alternatively (if you're using Framework 1.0), you can check the Items collection of the Control you have bound your data to. Something like this should work:
Code:
// Bind Data Here
if (myDataGrid.Items.Count > 0)
{
// There are Items
}
else
{
// There are no Items
// Display a Label, or whatever.
}
This has always worked for me, before HasRows was introduced.
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.