简体   繁体   中英

Query DB2 9.7 using .NET 4

In my company DB2 9.7 is used so I need to work with this database using C# .Net 4. First I installed the db2 dataserver client and found in C:\\Program Files (x86)\\IBM\\SQLLIB\\BIN\\netf20 the IBM.Data.DB2.dll library. But this library is only for .NET 2 and I I'm getting error when try to use it in my .NET 4 project. I cant use .NET 2 because all of my libraries(like lib. for Excel parsing) are using .NET4. I can't change anything in db2 server side (like fixpacks). Please help me to find a solution.

.NET 2 dll应该在.NET 4中运行。但是,可以在“ c:\\ Program Files \\ IBM \\ SQLLIB \\ BIN \\ netf40”中找到一个真正的.NET 4 dll。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM