I have a gridview thats datasource is an objectdatasource which has the following methods.
Select : return a DataSet //used to popluate from a sqlTable
public static DataSet SelectDataset()
//code to select DataSet
Delete : Method with 1 parameter used to Identify the id
public static void DeleteCommand(String id)
//code to delete
When the user clicks the Delete button the OnRowDeleting Event runs ...
Currently this errors out because the id value is never set before the DeleteCommand runs.
How do I ....set the String id parameter.... to the value from the .....GridViewDeleteEventArgs RowIndex value.....?