A
Adam Sandler
Hello,
Using VWD 2005 here and I want to set the GridView PageSize at runtime.
This URL has an example of what I exactly want to do...
http://msdn2.microsoft.com/en-US/library/system.web.ui.webcontrols.gridview.pagesize.aspx
Public Overridable Property PageSize As Integer
Dim instance As GridView
Dim value As Integer
value = instance.PageSize
instance.PageSize = value
Where I'm stuck is where does this code go? In what method to I put
this code into? I tried using GridView1.Load and it didn't work.
Any assitance is greatly appreciated... thanks!
Using VWD 2005 here and I want to set the GridView PageSize at runtime.
This URL has an example of what I exactly want to do...
http://msdn2.microsoft.com/en-US/library/system.web.ui.webcontrols.gridview.pagesize.aspx
Public Overridable Property PageSize As Integer
Dim instance As GridView
Dim value As Integer
value = instance.PageSize
instance.PageSize = value
Where I'm stuck is where does this code go? In what method to I put
this code into? I tried using GridView1.Load and it didn't work.
Any assitance is greatly appreciated... thanks!