开发者

How to get text from selected row in datagridview?

I have a data grid view that displays data from a SQL table.

I need to get the text from a specific column in the selected row on a mousecli开发者_高级运维ck to use it in a new SQL query.

How do I do that in vb.net?


I solved it with this:

(Datagridview1.Item("Coloumname", e.RowIndex).Value.ToString)

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜