开发者

how to remove the record from gridview when i click on delete button in vb.net?

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
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜