From: Leyne, S. <Se...@Br...> - 2003-06-11 15:21:29
|
Carlos, Although I don't use the provider... > 3. What type of project do you think that can be of interest for help=20 > people on use Firebird + .NET/Mono and that can be made using the=20 > Firebird .NET Data Provider ?? What do you think of a simple sample app which uses the employee database which ships with FB -- that way people can see how to use both the provider and Firebird? Sean |
From: Alan M. <al...@me...> - 2003-06-12 12:49:48
|
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 |
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 |
From: Tedd <te...@al...> - 2003-06-12 14:09:28
|
Carlos, Back in November or December I had mentioned that I would look at implementing the Events API. Due to time contstraints I was forced to abandon the attempt. At the time I had a lot of notes that were, more or less, a roadmap of how it would be implemented. The unfortunate thing is that these notes were in a location NOT backed up and that hard drive has since died. But, I am sure much of what I had is still somewhere in my head. I just need to relearn all of the details. I would be more than happy to help you with the Event implementation. Tedd PS. I am glad to see your back online. There seemed to be an uneasy silence after your announcement. -----Original Message----- From: fir...@li... [mailto:fir...@li...]On Behalf Of Carlos Guzman Alvarez Sent: Thursday, June 12, 2003 5:21 AM To: Alan McDonald Cc: fir...@li... Subject: Re: [Firebird-net-provider] Questions about the .NET Data provider All contributions will be welcome :D, i will try to see ASP .NET more in deep after try to implement Events API :) |
From: Carlos G. A. <car...@te...> - 2003-06-12 14:14:12
|
Hello: > Back in November or December I had mentioned that I would look at > implementing the Events API. Due to time contstraints I was forced to > abandon the attempt. At the time I had a lot of notes that were, more or > less, a roadmap of how it would be implemented. > > The unfortunate thing is that these notes were in a location NOT backed up > and that hard drive has since died. But, I am sure much of what I had is > still somewhere in my head. I just need to relearn all of the details. > I would be more than happy to help you with the Event implementation. Great!! I have started to work on this yet but all ideas are welcome when i have anything working i will make a commit into the 1.1 branch. > PS. I am glad to see your back online. There seemed to be an uneasy > silence after your announcement. Thanks :D -- Best regards Carlos Guzmán Álvarez Vigo-Spain "No tengo dones especiales.Sólo soy apasionadamente curioso" Albert Einstein, científico. |
From: Carlos G. A. <car...@te...> - 2003-06-12 18:49:55
|
Hello: > I would be more than happy to help you with the Event implementation. Huuuummmmm one question i'm reviewing the firebird sources, if i understand well ( i have no great level of C++ ) for isc_que_events we need to send anything like this: db.Output.WriteInt(op_que_events); // Op code db.Output.WriteInt(db.Handle); // Database object id db.Output.WriteTyped(GdsCodes.EPB_version1, epb);// Event description block db.Output.WriteLong(0); // Address of ast routine db.Output.WriteLong(0); // Argument to ast routine db.Output.WriteInt(db.RemoteEventId); // Client side id of remote event But how we can send tge address of ast rountine ( i was thinking on send the addess of a delegate but i'nm nosure if it can be :D ), and the argument list, any idea ?? -- Best regards Carlos Guzmán Álvarez Vigo-Spain "No tengo dones especiales.Sólo soy apasionadamente curioso" Albert Einstein, científico. |
From: Carlos G. A. <car...@te...> - 2003-06-12 20:12:21
|
Hello: > db.Output.WriteLong(0); // Address of ast routine > db.Output.WriteLong(0); // Argument to ast routine Sorry this needs to be : db.Output.WriteInt(0); // Address of ast routine db.Output.WriteInt(0); // Argument to ast routine -- Best regards Carlos Guzmán Álvarez Vigo-Spain "No tengo dones especiales.Sólo soy apasionadamente curioso" Albert Einstein, científico. |
From: Carlos G. A. <car...@te...> - 2003-06-11 15:29:50
|
Hello: > What do you think of a simple sample app which uses the employee > database which ships with FB -- that way people can see how to use both > the provider and Firebird? Can be good, probably by making it using Windows Forms and ASP .NET ( this can be good for me too because i want to see ASP .NET :D ) -- Best regards Carlos Guzmán Álvarez Vigo-Spain "No tengo dones especiales.Sólo soy apasionadamente curioso" Albert Einstein, científico. |