I need to pass along more than just one field as a DataKey. Is this possible? If so, how to get the values from the different keys? <BR><BR>David
I dont think we can have more than one datakeyfield in a datagrid. anyone else with a different say???
I came up with this as a workaround:<BR><BR>Dim AcctNo As String = dgOrders.Items(e.Item.ItemIndex).Cells(3).Text()<B R><BR>This way I can get any value I want from the row that was clicked.
If that is what you want to do then you can use the <BR>grdISCList_ItemCommand event of the datagrid and get the values directly using e.Item.Cells(3).Text. <BR><BR>for eg. dim strhello as string = e.Item.Cells(3).Text<BR><BR>HTH<BR>Cheers