protected void BtnAddProperty_Click(object sender, EventArgs e) { if (LabelManage.AttributeExists(this.xmlfilepath, this.TxtAttributeName.Text) && LabelManage.AddAttribute(this.xmlfilepath, this.TxtAttributeName.Text, this.TxtDefaultValue.Text, this.TxtIntro.Text)) { this.TxtAttributeName.Text = string.Empty; this.TxtDefaultValue.Text = string.Empty; this.TxtIntro.Text = string.Empty; this.GdvPropertys.DataBind(); } }