1 Replies - 1259 Views - Last Post: 05 July 2013 - 09:09 PM Rate Topic: -----

#1 786_student  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 20
  • Joined: 29-June 13

Row Deletion

Posted 01 July 2013 - 12:08 AM

Hi!

We want to add AutoDeleting property but we are not understanding how to handle it. Below is our code.
Please help !

Thanks in advance!

 Private Sub GridView1_RowDeleting(ByVal sender As [Object],ByVal e As GridViewDeleteEventArgs) Handles GridView1.RowDeleting
        Dim cell As TableCell
        cell = CustomersGridView.Rows(e.RowIndex).Cells(2)



Is This A Good Question/Topic? 0
  • +

Replies To: Row Deletion

#2 _HAWK_  Icon User is offline

  • Master(Of Foo)
  • member icon

Reputation: 1043
  • View blog
  • Posts: 4,054
  • Joined: 02-July 08

Re: Row Deletion

Posted 05 July 2013 - 09:09 PM

If your using databinding you can add the delete button -> gv.AutoGenerateDeleteButton = True and the datasource handles the work.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1