VS intègre aussi la création des programmes d'installation ! Et tu peux faire tout ce qu'il te faut.
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre questionstring currentPath = Application.StartupPath; Iconnection = new SqlCeConnection("data source=" + currentPath + "\\MyDatabase#1.sdf");
Une base de données SQL serveur ne peux pas être intégrée dans un setup, un fichier de connection oui, mais pas la base...
SQLite is an embedded SQL database engine. Unlike most other SQL databases, SQLite does not have a separate server process. SQLite reads and writes directly to ordinary disk files.
A complete SQL database with multiple tables, indices, triggers, and views, is contained in a single disk file. The database file format is cross-platform - you can freely copy a database between 32-bit and 64-bit systems or between big-endian and little-endian architectures. These features make SQLite a popular choice as an Application File Format. Think of SQLite not as a replacement for Oracle but as a replacement for fopen()
'Cryt3k', j'aime bien cette petite joute, dommage que celle ci ne soit restée qu'entre 2 utilisateurs, j'aurai aimé avoir l'avis d'autres personnes..
SQL CE databases reside in a single .sdf file,[10] which can be up to 4 GB in size.[4] The .sdf file can be encrypted with 128-bit encryption for data security.[10] SQL CE runtime mediates concurrent multi-user access to the .sdf file. The .sdf file can simply be copied to the destination system for deployment, or be deployed through ClickOnce. SQL CE runtime has support for DataDirectories.[6] Applications using an SQL CE database need not specify the entire path to an .sdf file in the ADO.NET connection string, rather it can be specified as |DataDirectory|\<database_name>.sdf, defining the data directory (where the .sdf database file resides) being defined in the assembly manifest for the application.
Maintenant s'il te plait "fl2010" peux tu nous indiquer quelle est ta base de données pour que l'on puisse te repondre si oui ou non ta base peut être intégrée à ton setup...