获取datalist当前操作行号

LinkButton lbn = new LinkButton();
        DataListItem dli = lbn.Parent as DataListItem;
        int a = dli.ItemIndex;

你可能感兴趣的:(获取datalist当前操作行号)