Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
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;
您可以使用以下代码行直接获取所选行
GridViewRow objRow = GridView3.SelectedRow; .. ..
我希望这能解决你的问题。