protected void btnSave_Click(object sender, EventArgs e)
    {
        string error = BusinessLogic.InsertRoleComponent(txtName.Text, txtDescription.Text, ddlFacultyRole.SelectedValue);

        if (error.Length > 3)
        {
            ClientScript.RegisterStartupScript(this.GetType(), "Error", "alert('" + error + "');", true);
        }
        else
        {
            RoleComponentGV.DataBind();
            clearForm();
        }
    }
 protected void RoleComponentGV_RowUpdated(object sender, GridViewUpdatedEventArgs e)
 {
     RoleComponentGV.DataBind();
 }