protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            structid.SelectedIndex = 1;
            structid.Items.Insert(0, "--请选择机构--");
            Tz888.BLL.Union union = new Tz888.BLL.Union();
            DataTable       dt    = union.GetList("StructureName,StructureID", "SetStructureTab", "", 100);

            Tz888.Common.Common.ToBind(structid, dt, "StructureName", "StructureID");
            if (Request.QueryString["alt"] == "1")
            {
                ImageButton1.Visible = false;
                if (!string.IsNullOrEmpty(Request.QueryString["OrganID"]))
                {
                    getModel(int.Parse(Request.QueryString["OrganID"]));
                }
                else
                {
                    Tz888.Common.MessageBox.ShowBack("参数有误。");
                }
            }
            else
            {
                Update.Visible = false;
            }
        }
    }
 protected string getsetServiesBigName(string StructID)
 {
     string str = "";
     if (!string.IsNullOrEmpty(StructID))
     {
         Tz888.BLL.Union dal = new Tz888.BLL.Union();
         DataTable dt = dal.GetList("ServiesBName", "setServiesBigTab", "where ServiesBID=" + StructID, 5);
         if (dt.Rows.Count > 0)
         {
             str = dt.Rows[0]["ServiesBName"].ToString();
         }
     }
     return str;
 }