Can the DataLayer.DataSources["VFPData"].ConnectionString be changed


Author
Message
Scott
Scott
StrataFrame User (270 reputation)StrataFrame User (270 reputation)StrataFrame User (270 reputation)StrataFrame User (270 reputation)StrataFrame User (270 reputation)StrataFrame User (270 reputation)StrataFrame User (270 reputation)StrataFrame User (270 reputation)StrataFrame User (270 reputation)
Group: Forum Members
Posts: 176, Visits: 1.5K
I have a BO with a preconfigured data source of "VFPData".  I am trying to do a conversion from Fox data to SQL.  The FoxBO has to be able to look at many different files with the same structure.  So, is it possible to change the connectionstring of the VFPData datasource then call the fill method and have it look at a different table?  I would think this would work but it keeps looking at the original table.  I am even calling the dispose on the bo and creating it everytime I change the connectionstring. Any suggestions.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search