send a selected row on a datagrid to a shopping cart
How do i send a selected row on a datagrid to a shopping cart please, Thanks for ya time and help!
VB Code:
Private Sub DGItems_ItemCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridCommandEventArgs) Handles DGItems.ItemCommand
Dim vItemID As String
Dim vItemNames As String
Dim vSaleQty As String
Dim vPricePaid As String
vItemID = e.Item.Cells(0).Text
vItemNames = e.Item.Cells(1).Text
vSaleQty = e.Item.Cells(2).Text
vPricePaid = e.Item.Cells(3).Text
If (e.CommandName = "AddToCart") Then
End If
Me.DGItems.DataBind()
End Sub