Protected Sub GridView1_RowDeleting(ByVal sender As Object, ByVal e AsSystem.Web.UI.WebControls.GridViewDeleteEventArgs) HandlesGridView1.RowDeleting Dim index As Integer = GridView1.SelectedIndex ' Get the currently selected row using the SelectedRow property. Dim ds As DataSet = Session("TransferTo") Dim dt As DataTable = ds.Tables("Transfer_To") dt.Rows(index).Delete() GridView1.DeleteRow(index) End SubThanks in advance.