datagrid error

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi,

I tried to create a datagrid, I followed the code exactly from the samples
at dotgotnet.com. However, I am getting an error message which I have no clue
why ??

Compiler Error Message: CS0122:
'MainFolder.FolderB.WebForm5.MyDataGrid_Page(object,
System.Web.UI.WebControls.DataGridPageChangedEventArgs)' is inaccessible due
to its protection level

This line is highlighted in red:
Line 13: <ASP:DataGrid id="MyDataGrid" runat="server" AllowPaging="True"
PageSize="3" PagerStyle-Mode="NumericPages"

Any input is appreciated.

regards,
andrew
 
thanks, it works fine now. I couldn't figure it out, even went as far as to
upgrade my .net framework servicepack.

regards,
andrew
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top