protected void btnaddtag_Click(object sender, EventArgs e)
        {
            int?pnameid = rsddlRegion.GetSelectedRegionId();

            if (!pnameid.HasValue)
            {
                this.ShowMsg("保险地区不能为空!", false);
            }
            else
            {
                XmlNode region = RegionHelper.GetRegion(int.Parse(pnameid.ToString()));
                string  insuranceAreaCiteId   = region.Attributes["id"].Value;
                string  insuranceAreaCiteName = region.Attributes["name"].Value;

                string insuranceAreaProvinceId = region.ParentNode.Attributes["id"].Value;
                string insuranceAreaName       = region.ParentNode.Attributes["name"].Value;


                string insuranceCompanyTypes = "", insuranceCompanyTypesIds = "";
                int    tmpfirst = 0;
                for (int i = 0; i < txtInsuranceCompanyType.Items.Count; i++)
                {
                    if (txtInsuranceCompanyType.Items[i].Selected)
                    {
                        insuranceCompanyTypes += "" + txtInsuranceCompanyType.Items[i].Text + "" + ",";
                        if (tmpfirst != 0)
                        {
                            insuranceCompanyTypesIds += txtInsuranceCompanyType.Items[i].Value + ",";
                        }
                        else
                        {
                            insuranceCompanyTypesIds += "," + txtInsuranceCompanyType.Items[i].Value + ",";
                        }
                        tmpfirst++;
                    }
                }
                if (insuranceCompanyTypes.Length > 1)
                {
                    insuranceCompanyTypes = insuranceCompanyTypes.Substring(0, insuranceCompanyTypes.Length - 1);
                    //insuranceCompanyTypesIds = insuranceCompanyTypesIds.Substring(0, insuranceCompanyTypesIds.Length - 1);
                }

                int rnum = CatalogHelper.AddInsuranceCompanyArea(insuranceAreaCiteId, insuranceAreaCiteName, insuranceAreaProvinceId, insuranceAreaName, insuranceCompanyTypes, insuranceCompanyTypesIds);

                if (rnum > 0)
                {
                    this.ShowMsg("添加保险公司成功!", true);
                    this.ProductTagsBind();
                }
                else
                {
                    this.ShowMsg("添加保险公司失败,已经添加过该地区!", false);
                }
            }
        }