S
shapper
Hello,
I am using a LinqDataSource but I could either use an SQLDataSource or
any other. The question is the same:
The DataSource is associated with a GridView and I have the following
event:
' lds_Deleting
Private Sub lds_Deleting(ByVal sender As Object, ByVal e As
LinqDataSourceDeleteEventArgs) Handles lds.Deleting
End Sub
When I click a row in the GridView this event is fired.
I am creating a custom Linq code to delete a record but I need the
RecordId (PK) of the row clicked.
How can I get that value in my Deleting event?
Thanks,
Miguel
I am using a LinqDataSource but I could either use an SQLDataSource or
any other. The question is the same:
The DataSource is associated with a GridView and I have the following
event:
' lds_Deleting
Private Sub lds_Deleting(ByVal sender As Object, ByVal e As
LinqDataSourceDeleteEventArgs) Handles lds.Deleting
End Sub
When I click a row in the GridView this event is fired.
I am creating a custom Linq code to delete a record but I need the
RecordId (PK) of the row clicked.
How can I get that value in my Deleting event?
Thanks,
Miguel