예제 #1
0
    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();
        }
    }