protected void btn_AddAttribute_Create_Click(object sender, EventArgs e) { if (Page.IsValid) { string Attribute_TypeID = Nexus.Core.Tools.IDGenerator.Get_New_GUID(); ProductAttributeMgr myProductAttributeMgr = new ProductAttributeMgr(); e2Data[] UpdateData = { new e2Data("Attribute_TypeID", Attribute_TypeID), new e2Data("Product_VariantID", droplist_AddAttribute_VariantID.SelectedValue), new e2Data("Attribute_Name", tbx_AddAttribute_Name.Text), new e2Data("Description", tbx_AddAttribute_Description.Text), new e2Data("IsActive", chkbox_AddAttribute_IsActive.Checked.ToString()) }; myProductAttributeMgr.Add_Product_Attribute_Type(UpdateData); Control_FillData(); Control_Init(); } }