protected void DetailsViewWeixinPublic_ModeChanging(object sender, DetailsViewModeEventArgs e)
 {
     DetailsViewWeixinPublic.
     ChangeMode(e.NewMode);
     BindToDetailsViewWeixinPublicNumber();
 }
 protected void GridViewWeixinPublic_SelectedIndexChanged(object sender, EventArgs e)
 {
     DetailsViewWeixinPublic.ChangeMode(DetailsViewMode.ReadOnly);
     DetailsViewWeixinPublic.PageIndex = GridViewWeixinPublic.SelectedIndex;
 }
 public void BindToDetailsViewWeixinPublicNumber()
 {
     DetailsViewWeixinPublic.DataSource = FactoryBo.Weixin.WeixinPublicSettingFactoryBo.
                                          GetObject("WeixinPublicBoFactory").WeixinPublicBo.GetIList();
     DetailsViewWeixinPublic.DataBind();
 }