DB2 .NET Data Provider This is a .NET Framework Class Library provided by IBM. The class library is contained in the file IBM.Data.DB2.dll.
Coding Add a reference to the assembly IBM.Data.DB2 and include the IBM.Data.DB2 namespace. Instantiate a new DB2Connection connection object. Set the connection string and open the connection.
C# code sample using IBM.Data.DB2; DB2Connection myConnection = new DB2Connection(); myConnection.ConnectionString = myConnectionString; myConnection.Open(); //execute queries, etc myConnection.Close();
°ï°ï棬лл~ 1. Write a program to perform a topological sort on a graph. 2. Write a program to solve the single‐source shortest‐path problem (Dijkstra algorithm). 3. Write a program ......