deleting records in DataList view
Hi there.
I have a datalist
in this there are some fields (obviously) that displays records details.
I have placed 2 button in it as well
1) delete
2) submit changes
when the user hits delete I wish to delete that record. Each record has a unique ID number.
The thing is, when i double click on the button, it doesnt displays it's click method, I guess its because im using ASP.NET and VB.NET etc...
Is there a way to do this? even maybe if i create a public/private method, then in ASP.NET/HTML tell it to do the onClick thing and call that method?