0

how i can select Row from GridView without DataKey ?

I have a Grid view with data source from List and i need when press select select Get the selected row ?

List<string> RequestedMovie = new List<string>();
GridView3.Datasource = RequestedMovie;
4

1 回答 1

0

您可以使用以下代码行直接获取所选行

  GridViewRow objRow = GridView3.SelectedRow;
  ..
  ..

我希望这能解决你的问题。

于 2012-05-09T13:57:23.557 回答