Hi,

Right now I am using a grid control from ComponentOne which I have to stay with. When I click an link in the row which fires a grid_ItemCommand event one of the parameters passed is e As C1.Web.C1WebGrid.C1CommandEventArgs. I want to change it where I am selecting a row with a checkbox in a column and then click a button to process the row selected. So I need to get the value it is putting in e and pass that which is used in another sub.

Here is how e is assigned to "row" as DataRow. Can I do this myself if I know which row of the grid to do this for? Can someone show me?

Thanks!!

Code:
    Private Sub grid_ItemCommand(ByVal sender As Object, ByVal e As C1.Web.C1WebGrid.C1CommandEventArgs) Handles grid.ItemCommand
        Select Case e.CommandName
            Case "Renew"    ' Renew barcode
                Dim row As DataRow = CType(e.Item.DataItem, DataRowView).Row
I need to get row assigned by my own code by knowing which row it is. How can I do that?