Posted on: 7/11/2014 2:55:27 PM | Views : 383

I create a nice looking grid using a loop and it works it terms of display. In the example below it displays "123-" and the ID from the Database. I want to have it work as a link with the OnClick as I need to go to a function and cannot see what I am missing.
vSites = "<tr><td><asp:LinkButton id='LinkButton1' Text = 'Click Me' OnClick = 'LinkButton_Click' style='color: black' runat='server'/> 123-" & datarow("ID").ToString & "</td></tr>

Go to the complete details ...