Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Embedded database
Message
 
À
09/09/2004 14:02:44
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Divers
Thread ID:
00940745
Message ID:
00940761
Vues:
20
If the DBF is read-only, you could simply add the DBF to the solution and set it up as an embedded resource. You can use Reflections to copy the DBF to a memory stream or local copy of the file while in use, and then delete it. Alternatively, if you're going to be reading/writing to the DBF, you can use ResourceWriter to work with the DBF stored in a .resource file (as opposed to being complied into the actual exe).

Embedded Resources Example (C#):
http://www.codeproject.com/dotnet/embeddedresources.asp

ResourceWriter Example(VB):
http://samples.gotdotnet.com/quickstart/howto/doc/readwriteresources.aspx
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform