Results 1 to 7 of 7

Thread: delete record from datagrid [RESOLVED]

Threaded View

  1. #1

    Thread Starter
    Frenzied Member EyeTalion's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    1,075

    delete record from datagrid [RESOLVED]

    I'm trying to delete a record from a datagrid, but can't seem to get my "Delete Command EventHandler" to fire. I have a datagrid with a delete button. Here's my code:


    Sub deleteRecord(sender as Object, e as DataGridCommandEventArgs)
    lblVerify.Text = "Record has been Deleted"
    End Sub

    <asp:datagrid id=DataGrid1 onDeleteCommand="deleteRecord" >
    <asp:ButtonColumn CommandName="Delete">


    when I click the delete button it never makes it to my "deleteRecord" procedure. Any suggestions?

    thanks,
    eye
    Last edited by EyeTalion; Nov 5th, 2002 at 01:43 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width