2010-12-14 144 views

回答

0

Gridview有一個名爲'RowDeleting'的事件,您可以使用它來處理刪除事件。 例如:

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 
相關問題