Monday, August 16, 2010

VB.Net Grid View?

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?VB.Net Grid View?
use the selectedrow propertyVB.Net Grid View?
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.

No comments:

Post a Comment