English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I have a grid view called gvPayer and I have a Select button field for each row in the grid. When I click on the certain select button i want to store the data in the first cell of that row in payerid. How do I pull the actual value/text of the cells from a gridview?

2006-12-05 05:11:10 · 2 answers · asked by csdraska 1 in Computers & Internet Programming & Design

2 answers

use the selectedrow property

2006-12-05 05:49:30 · answer #1 · answered by Night King 2 · 0 0

I have not done it with a GridView, but in a DataGrid, you could wire up an event to button controls, and one of the arguments passed in will give you the row number in the DataGrid.

2006-12-05 13:31:34 · answer #2 · answered by evolver 6 · 0 0

fedest.com, questions and answers