how to remove the record from gridview when i click on del开发者_如何转开发ete button in vb.net ?
Gridview has an event called 'RowDeleting' which you can use to handle Delete events. For example:
Private Sub gridview_RowDeleting(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewDeleteEventArgs) Handles gridview.RowDeleting
'' Handle your delete here and rebind your datasource if needed
End Sub
精彩评论