Problem adding DataTable to existing DataSet

From: charliewest (charliewest_at_discussions.microsoft.com)
Date: 03/12/05


Date: Sat, 12 Mar 2005 08:39:02 -0800

Using .Net CF, I have a DataSet which includes four tables. Periodically, i
must refresh one table w/ new data from the Sql CE database. I go about this
as follows:

ds.Tables.RemoveAt(3);
DataTable dt = utilities.fGetResponses(<< sent params to create table>>);
ds.Tables.Add(dt);

I get the following error:
A first chance exception of type 'System.IO.FileNotFoundException' occurred
in mscorlib.dll. Additional information: FileNotFoundException

Any ideas why this doesn't work?

Thanks,



Relevant Pages

  • Problem removeing DataTable and Adding DataTable to DataSet
    ... must refresh one table w/ new data from the Sql CE database. ... I've checked the properties of the retunring dt object, ...
    (microsoft.public.data.ado)
  • Re: Refreshing linked tables
    ... We could not use refresh to reliably change an ODBC ... We needed to use a persistent Database object so ... that the connect string was not lost when the Tabledef ... password parameters would be unecessary if SQL ...
    (microsoft.public.vb.database)
  • do not allow users to refresh the page
    ... i have write an asp.net application that insert the some rows in sql ... database i want to deny users from refresh the page because it cause a new ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: dbdebunk Quote of Week comment
    ... > a lot of really bad SQL programmers. ... But SQL does not have a pointer data type or the ... > being told to design a database. ... But why is little Cindy Lou Who employee ...
    (comp.databases.theory)
  • Re: DBMS and lisp, etc.
    ... Naively implemented with SQL, again for 10 ... (1 query for the initial orders, 1 query for each order for its ... soon as you upgrade to the SQL database. ... (eq (order-customer orderA) ...
    (comp.lang.lisp)