georgepatotk
Contributor
Code:
<asp:DataGrid id=dgOwn>
<asp:ButtonColumn HeaderText="Dir" DataTextField="Dir" commandname="btn"/>
</asp:DataGrid>
Private Sub dgOwn_ItemCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridCommandEventArgs) Handles dgOwn.ItemCommand
If e.CommandName = "btnShowFiles" Then
'I want to get the value/text display on the btn over here
End If
End Sub