来了.加油啊,同学!
那就把数据预读出来,然后Button的click事件做Enable操作~
Button btn = sender as Button; DataListItem it = btn.NamingContainer as DataListItem; int rowindex = it.ItemIndex;试试看