开发者

Retrieving a row from the GridView

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜