G
Guest
Hi guys,
I'm getting error:-
BC30456: 'dgResults_Page' is not a member of 'ASP.datagrid_aspx'.
from the code below what am i doing wrong?
Code below:-
----------------
<ASPataGrid id="dgResults" runat="server"
OnPageIndexChanged="dgResults_Page"
Width="700"
BackColor="#ccccff"
BorderColor="black"
ShowFooter="false"
CellPadding=3
CellSpacing="0"
Font-Name="Verdana"
Font-Size="8pt"
HeaderStyle-BackColor="#aaaadd"
EnableViewState="false"
AllowPaging="true" PageSize="3"/>
Sub dgResults_Page(ByVal Sender As Object, ByVal E As
DataGridPageChangedEventArgs)
dgResults.CurrentPageIndex = e.NewPageIndex
DataBind()
End Sub
I'm getting error:-
BC30456: 'dgResults_Page' is not a member of 'ASP.datagrid_aspx'.
from the code below what am i doing wrong?
Code below:-
----------------
<ASPataGrid id="dgResults" runat="server"
OnPageIndexChanged="dgResults_Page"
Width="700"
BackColor="#ccccff"
BorderColor="black"
ShowFooter="false"
CellPadding=3
CellSpacing="0"
Font-Name="Verdana"
Font-Size="8pt"
HeaderStyle-BackColor="#aaaadd"
EnableViewState="false"
AllowPaging="true" PageSize="3"/>
Sub dgResults_Page(ByVal Sender As Object, ByVal E As
DataGridPageChangedEventArgs)
dgResults.CurrentPageIndex = e.NewPageIndex
DataBind()
End Sub