[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 233
  • Last Modified:

Use Stored Procedure for Delete in Asp.net 2.0 Gridview

How do I use a Store Procedure for the delete function in a gridview?
0
Albee_J
Asked:
Albee_J
1 Solution
 
Kyle AbrahamsSenior .Net DeveloperCommented:
Add a Handler:
    Protected Sub DataGrid1_DeleteCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridCommandEventArgs) Handles DataGrid1.DeleteCommand

Then call your stored procedure from within the handler.
0
 
DhaestCommented:
0
 
Albee_JAuthor Commented:
Thanks
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now