protected void ServiceItem_Command(object sender, CommandEventArgs e)
 {
     if (e.CommandName == "serviceitem")
     {
         int mid = Convert.ToInt32(e.CommandArgument);
         ViewState["mid"]      = mid;
         ViewState["itemName"] = ServiceModelService.Get_ServiceItemName(mid);
         binddata(((ServiceInfo)Session["serviceinfo"]).S_ID, mid);
     }
 }
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         CommonFunction.isSelectedService();
         Title = "服务内容-" + ((ServiceInfo)Session["serviceinfo"]).S_Name + "门户网站";
         int mid = 1;
         if (Request.QueryString["mid"] != null)
         {
             mid = Convert.ToInt32(Request.QueryString["mid"]);
         }
         ViewState["mid"]      = mid;
         ViewState["itemName"] = ServiceModelService.Get_ServiceItemName(mid);
         binddata(((ServiceInfo)Session["serviceinfo"]).S_ID, mid);
     }
 }