mardi 27 janvier 2015

Template Button GridView

I'm using a GridView in my web application and converted the default delete/edit buttons to template fields. I did this because I can't simply delete users from the database with the default SQL delete query that was generated.


I want to use Membership.DeleteUser() however I don't know how to get the username from the GridView that corresponds to the LinkButton that the user presses.


How would I go about doing this?





Aucun commentaire:

Enregistrer un commentaire