//protected void ddlClass_SelectedIndexChanged(object sender, EventArgs e)
        //{
        //    string senderType=rbtnSender.SelectedValue.ToString();
        //    if (senderType.Equals("Student"))
        //    {
        //        BindStudentGridData();
        //    }

        //}

        //Bind Staff Grid Data
        #region [Bind Staff Grid Data]

        private void BindStaffGridData()
        {
            try
            {
                EWA_Common objEWA = new EWA_Common();
                BL_Common  objBL  = new BL_Common();

                objEWA.OrgId         = Session["OrgId"].ToString();
                objEWA.UserCode      = Session["UserCode"].ToString();
                objEWA.DesignationId = ddlDesignation.SelectedValue.ToString();
                objEWA.DepartmentId  = ddlDepartment.SelectedValue.ToString();
                DataSet ds = objBL.BindFacultyData_BL(objEWA);
                if (ds.Tables[0].Rows.Count != 0)
                {
                    GrdFacultySender.DataSource = ds;

                    GrdFacultySender.DataBind();
                    GrdFacultySender.Columns[2].Visible = true;
                    dsGrdFacultySender = ds.Copy();
                }
                else
                {
                    ShowEmptyGridView(GrdFacultySender);
                }
            }
            catch (Exception exp)
            {
                GeneralErr(exp.Message.ToString());
            }
        }