I have programaticaaly created several Link Buttons on my ASPX page, I would like to raise the Click event of these Link buttons, passing in appropriate parameters depending on the Link button I click. Below is the code I have written to create the Link Buttons
For i as integer = 0 to 10
Dim lnkbtn as new linkbutton
lnkbtn.ID = lnkbtn&i.tostring()
lnkbtn.Text = Test&i.tostring(()
me.controls.add(lnkbtn)
Next
Since the Link buttons are dynamicaaly created I do not know how to access its Click Method. I would highly appreciate if someone Can suggest a way to access the Controls Methods especially the Click Event
:confused: