NinaWilliam
05-11-2005, 02:55 AM
Is there a way to write paging code in DataGrid without using DataAdaptor??
|
Click to See Complete Forum and Search --> : Paging in DataGrid NinaWilliam 05-11-2005, 02:55 AM Is there a way to write paging code in DataGrid without using DataAdaptor?? buntine 05-11-2005, 03:47 AM See: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbtskspecifyingpagingbehaviorindatagridwebcontrol.asp Or: http://aspnet.4guysfromrolla.com/articles/091003-1.aspx MikeFlyer 05-14-2005, 09:00 AM try this, one of my friends told me about it but i never used it Private Sub DataGrid1_PageIndexChanged(ByVal source As System.Object, ByVal e As System.Web.UI.WebControls.DataGridPageChangedEventArgs) Handles DataGrid1.PageIndexChanged DataGrid1.CurrentPageIndex = e.NewPageIndex DataGrid1.DataBind() End Sub NinaWilliam 05-15-2005, 12:23 AM Thanks... webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |