开发者

Retrieving a row from the GridView

开发者 https://www.devze.com 2023-02-04 19:29 出处:网络
I\'m would like to retrieve a cell from a selected row in GridView. Please tell me how I might accomplish thi开发者_Python百科s.You can try that:

I'm would like to retrieve a cell from a selected row in GridView. Please tell me how I might accomplish thi开发者_Python百科s.


You can try that:

Dim row As GridViewRow = CustomersGridView.SelectedRow
Dim cell2 as string = row.cells(1).text


In C#,

GridViewRow GVR = gridview.SelectedRow;
string dd = GVR.Cells[1].Text;
0

精彩评论

暂无评论...
验证码 换一张
取 消