if (dt.Rows.Count >(greater than) 0) { GridView1.DataSource = dt; GridView1.DataBind(); } for crystal report i will be giving as if (dt.Rows.Count >(greater than) 0) { response.Redirect("crystalreport.aspx") //the page where we can view the crystal report. }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)