I am trying to create a control that I can add to a SharePoint 2007 masterpage.
The code I have works in VB.Net (version 1.txt) and the code I want use is in C# (version2.txt).
I would like the C# code to run on page load and not as a button.
I am getting three errors (display-user-error.GIF).
Any advice or assistance would be appreciated.