The code give me an error in this line :
DGnotes.datasource = MyQueryMethod2(LBnom.SelectedItem.text)
The error is :
---
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30456: 'newpageindex' is not a member of 'System.EventArgs'.
Source Error:
Line 82: DGnotes.currentpageindex=e.newpageindex
Line 83: DGnotes.datasource = MyQueryMethod2(LBnom.SelectedItem.text)
Line 84: DGnotes.databind()
----
my code is :
Sub LBnom_SelectedIndexChanged(sender As Object, e As EventArgs)
DGnotes.datasource = MyQueryMethod2(LBnom.SelectedItem.text)
DGnotes.databind()
End Sub
please help
DGnotes.datasource = MyQueryMethod2(LBnom.SelectedItem.text)
The error is :
---
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30456: 'newpageindex' is not a member of 'System.EventArgs'.
Source Error:
Line 82: DGnotes.currentpageindex=e.newpageindex
Line 83: DGnotes.datasource = MyQueryMethod2(LBnom.SelectedItem.text)
Line 84: DGnotes.databind()
----
my code is :
Sub LBnom_SelectedIndexChanged(sender As Object, e As EventArgs)
DGnotes.datasource = MyQueryMethod2(LBnom.SelectedItem.text)
DGnotes.databind()
End Sub
please help