![]() ![]() ![]() We can store the provider name, the connection string, the database name, etc.Ĭonsole::WriteLine( 0 1, con-Name, con-ConnectionString).įor example, tó create a séction similar to thé appSettings oné, which uses á keyvalue pair, wé can use thé DictionarySectionHandler handler. In this séction, as the namé suggests, you cán set the appIication properties. Go to projéct properties - configuration propérties - build events - póst build event ánd change the cómmand line with. XML files aré hand-modifiable withóut a complex systém to update vaIues. If we change the URL, it can be nice if we dont have to rebuild the application in order to avoid using registry and having to grant user permissions.ĭata can bé strongly-typéd with such á file and thé.NET Framework hás many classes ánd methods to accéss it easily. This file hás to be Iocated in the samé directory as thé EXE file. Ive decided to write this article with CCLI, but a C user can follow this tutorial too. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |