Thanks for replying

I do have a method in vb.net which deletes the entry from the DB - cool.

From what i have been reading and doing my research, in order for a confirmation box to appear is to make a big string with javascript or vbscript to ask the user to delete it or not

ok cool i got that

but the question is, in this big long string, if the user clicks ok, there is an if else statement

if confirmbox == ok (or whatever it is) i want it to execute the vb.net method which deletes it. the thing is, the string will not take in the e arguement

and yes that method u have is similar to mine in terms of the method name and params.

mines is something like:

public sub deleteRecord (byval Source as object, Byval e as data.......) -

i cant remember the last argument but i hope u see what it is. as far as i know - it is a big huge syntax keyword LOL....

the code is at work, dont have it with me. shouldve made a copy....

and i use ctype to check or detect the record id in the datalist - which is fine.

hope it makes sense