public void ShowFeedBack() { DataSet ds = objAdmin.ShowFeedBack(); if (ds.Tables[0].Rows.Count > 0) { gvFeedBack.DataSource = ds.Tables[0]; gvFeedBack.DataBind(); } else { gvFeedBack.EmptyDataText = "No Data Available"; gvFeedBack.DataBind(); } }