/*Create new group*/

        protected void btnnewgroup_Click(object sender, EventArgs e)
        {
            this.lberror.Text = "";
            try
            {
                string groupname = this.txtnewgroup.Text;
                //get the value of the dropdownlist
                string type = DDLTypeListnewgroup.SelectedValue.ToString();
                DataAccessor.Usp_Create_NewGroup(groupname, type);
                this.lberror.Text = "<br/>The Group " + groupname + " has been created";
                DDLGroupList.DataBind();
            }
            catch (Exception x)
            {
                this.lberror.Text = "Something went wrong ";
            }
        }
 protected void btnSave_Click(object sender, EventArgs e)
 {
     //delete this later
     DDLGroupList.DataBind();
     DDLTypeList.DataBind();
 }