private void Clear() { BindGrid(); txtEmployeeName.Text = ""; txtContactNo.Text = ""; txtAddress.Text = ""; hdnEmplopyeeId.Value = "0"; btnDelete.Visible = false; btnSave.Text = "Save"; ckbIsActive.Checked = true; obj = new GeneralDAL(); obj.BindDropdown(ddlDepartment, "SP_Department", "GetActiveDepartment", "DepartmentName", "DepartmentId"); obj = new GeneralDAL(); obj.BindDropdown(ddlDesignation, "SP_Designation", "GetActiveDesignation", "DesignationName", "DesignationId"); }