Ok, here is my code.

asp Code:
  1. <asp:DataGrid runat="server" ID = "testgrid" OnSelectedIndexChanged="testgrid_SelectedIndexChanged" OnItemCommand="Button_Click" Height="40px">
  2.     <HeaderStyle BackColor="Blue" ForeColor = "White"/>
  3.     <Columns >
  4.     <asp:ButtonColumn Text = "View Information" ButtonType="PushButton" ></asp:ButtonColumn>
  5.     </Columns>
  6.    
  7.     </asp:DataGrid>

And in the codebehind I have:

asp.net Code:
  1. void Button_Click(System.Object Sender, System.Web.UI.WebControls.DataGridCommandEventArgs e)
  2.     {
  3.         MessageBox("Button Pushed!");
  4.     }

Now, when I compile, I'm getting this error:

Error 3 'newpage.Button_Click(object, System.Web.UI.WebControls.DataGridCommandEventArgs)' is inaccessible due to its protection level C:\Documents and Settings\justin\My Documents\Visual Studio 2005\WebSites\AceSite\newpage.aspx 62


I'm kinda stuck...

Thanks for the help,

Justin Fox