if(GridView1.Rows.Count==0)
{
//display your msg here.
}

thats it!