Function pass Id

I am having troubles figuring out how to pass an Id when I pass an onclick in a repeater. I have it going to another page so that we can update the info in the database but I need to be able to pass the id so I get the right record.