您当前的位置: 首页 >  .net

暂无认证

  • 0浏览

    0关注

    101061博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

Ext.Net 1.x_Ext.Net.Combox联动

发布时间:2011-01-07 15:57:00 ,浏览量:0

最近想做一个COMBOX选择后,另外一个SELECBOX加载不一样的内容

前台 


		

后台

protected void cbtype_change(object sender, DirectEventArgs e) 
    {
        if (this.cbtype.Text.Trim() == "1")//菜单叶子
        {
            this.Store1.DataSource = new DAL.TreeDAO().GetMeunList(0);
            this.DataBind();
        }
        else 
        {
            this.Store1.DataSource = new DAL.TreeDAO().GetMeunList(1);
            this.DataBind();
        }
    }

上图:

关注
打赏
1655516835
查看更多评论
立即登录/注册

微信扫码登录

0.0542s