| |
Sign In
i'm just experimenting with the gridview control, and i got stuck trying to delete an object with the auto-included delete button. the delete method would get invoked properly, but the ID parameter was always zero, which means the int parameter was uninitialised.
my problem was that i didn't have the DataKeyNames property set in the Gridview. I just set it to 'ID' and it worked fine then.
Remember Me