public void ShowOrder() { DataTable dt = new DataTable(); dt = bus.ShowOrders(); if (dt.Rows.Count > 0) { GridView1.DataSource = dt; GridView1.DataBind(); } }