ASP.NET [How to check if SqlDataSource1 is empty]
<p>I make SqlDataSource1.DataBind(); with some parameters on button click,</p>

<p>then I'm working with a Grid onDataBound();</p>

<p>but if my SqlDataSource1 returns empty data I've got an error even if I'm trying to check if (GridView2.HeaderRow.Cells.Count != 0) so I guess I need to check it on SqlDataSource1 someway.</p>

<p>Question : How ?</p>

<p>Thank you.</p>
