protected void ListView1_SelectedIndexChanging(object sender, ListViewSelectEventArgs e)
{
string id = ListView1.DataKeys[e.NewSelectedIndex].Value.ToString();
lblMessage.Text = "ListView Selected ID : " + id;
}
is there any other way to access datakeynames values in my .aspx page datakeynames="R开发者_JAVA技巧esourceID"
string id = ListView1.DataKeys[e.NewSelectedIndex].Value.ToString(); the only we can do is like this
精彩评论