Results 1 to 2 of 2

Thread: delete record from datagrid

  1. #1

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

    delete record from datagrid

    I'm using "index = e.Item.ItemIndex" and this gives me the row number of the datagrid that was clicked. How can I get a value out of that record so I can put it in my query to delete the record from the database?

    thanks,
    eye

  2. #2
    Addicted Member CoMMiE's Avatar
    Join Date
    Jul 2000
    Location
    Malaysia, Kuala Lumpur
    Posts
    179
    Hi
    Try this:

    Dim strValue as string

    strValue=Datagrid1.item(index ,ColNumber)

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