I need to use the value of a particular field from a datagrid as a parameter for a function. I am having a hard time trying to figure out the syntax for the argument.<BR><BR>I have tried things like:<BR><BR>InsertParticipants(EventConfirmGrid.D ataKeys(EventConfirmGrid.SelectedIndex).Text, Cust.Text)<BR><BR>But that received the following error<BR><BR>Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index <BR><BR>Can anyone help with this???<BR><BR><BR><BR>