From: Tony R. <to...@so...> - 2004-02-18 16:35:41
|
Don't know if this helps or is relevant, but when you use the .Fill(x,y), Have you initialised the x beforehand In Delphi (Sorry its in Delphi) you have to to do the following... x := DataSet.Create; MyDataAdap.Fill(x,'TEST'); ""JS.staff"" <jsp...@ec...> wrote in message news:2AF...@ec...ernal... > Hi all, > > I'm experimenting with the .NET provider for Firebird (provider 1.5 RC5) > and MS VS 2003 (Windows 2000, FB 1.5 RC7). > > I can fill a dataset, and update/insert manually using FbCommands, but > am having problems with FbDataAdapter. When I do a .Fill(x,y) I get the > following exception: > > "NullReferenceException: object not set to an instance of an object" > > Both Update and Insert command objects are specified. Any ideas? > > Thanks, > > John > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Firebird-net-provider mailing list > Fir...@li... > https://lists.sourceforge.net/lists/listinfo/firebird-net-provider > |