如果
this.DataList1.SelectedIndex = e.Item.ItemIndex;
this.BindPlaces();那
this.BindPlaces();是重新加载SelectedIndex吗

解决方案 »

  1.   

    不明白你想干什么?e.Item.ItemIndex;
    是你按下时事件所在当前行的索引,只有这个事件发生,才有e.item.itemindex
      

  2.   

    this.BindPlaces();
    这个就是一个函数名称啊.
      

  3.   

    this.BindPlaces() 重新绑定数据
      

  4.   

    如果
    this.DataList1.SelectedIndex = e.Item.ItemIndex;
    this.BindPlaces();那
    this.BindPlaces();是重新加载SelectedIndex吗SelectIndex是编辑索引吧.e.Item.ItemIndx应该是同行某个按钮(我猜).
    this.BindPlaces();是一个自定义函数,重生绑定DataList1而尔.