Add a custom IBM i library list to a C# application

Ever find that you need to add a custom library list to a C# application that works with IBM i data? Here is what you need to do. Add LibraryList= to your connection string. So that would look like:

connectionString="DataSource=127.0.0.1;DefaultCollection=MYMAINLIB;Naming=sql;
UserID=USERNAME;Password=PASSWORD;LibraryList=MYMAINLIB,LIB2,LIB3;"
This entry was posted in .NET, IBM i. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

    About Author

    Mike Wills

    Mike has been a long-time geek. He started with using an Apple ][e. Later, he used to have to reinstall Windows many, many times on his dad’s computer in order to fix something he messed up. He has been programming in RPG on the IBM i since 2000 and has delved some into other languages including Java, ASP.NET, and PHP....






Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>