From: Alessandro P. <pet...@in...> - 2003-06-12 13:31:27
|
Alan, I've no time right now but... there are 2 different ways: 1) using DataSource and DataGrid internal paging. PRO: no code required. CONS: the DataSet is completely rebuilt each time. 2) using AllowCustomPaging property: in this case you have to rebuild = the sql string (using SKIP) on the DataGrid OnPageIndexChanged event. If the dataset is small you can use the first method but if you have a = lot of rows the second one is the preferred way to do paging. Sorry for my poor English. Regards, Alessandro Petrelli. -----Messaggio originale----- Da: Alan McDonald [mailto:al...@me...]=20 Inviato: gioved=EC 12 giugno 2003 14.50 A: Alessandro Petrelli; fir...@li... Oggetto: RE: [Firebird-net-provider] Questions about the .NET Data = provider Alessandro, I'd love to see these. Does the datagrid component expect you to use = these clauses when not using a recordset? Or does the datagrid expect a = recordset and the Recordset expect you to use them, or does the datagrid expect = the recordset to use them? Alan > -----Original Message----- > From: fir...@li... > [mailto:fir...@li...]On Behalf Of > Alessandro Petrelli > Sent: Thursday, 12 June 2003 10:47 PM > To: fir...@li... > Subject: Re: [Firebird-net-provider] Questions about the .NET Data > provider > > > > "Carlos Guzman Alvarez" <car...@te...> wrote in message > news:3EE...@te...... > > > > Hello: > > > > > I will be looking eagerly at your employee.gdb example > > > app. Maybe I can contribute. > > > > All contributions will be welcome :D, i will try to see ASP .NET = more in > > deep after try to implement Events API :) > > > > > > I'm using the provider with ASP.NET a lot and I'm also paging = datagrids > with FIRST / SKIP with success. > I'll try to prepare some samples as soon as possible. > > Regards, > Alessandro Petrelli. > > > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: eBay > Great deals on office technology -- on eBay now! Click here: > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Firebird-net-provider mailing list > Fir...@li... > https://lists.sourceforge.net/lists/listinfo/firebird-net-provider |