QT sotto licenza GPLv3

19 gennaio 2008 - Fonte: http://www.pettinix.org

Trolltech ha annunciato il rilascio delle proprie librerie grafice, le QT, sotto licenza GPLv3.

La società  ha annunciato che la scelta è stata presa dopo essersi consultati con il team di KDE e la Free Software Foundation, sia le QT...

Leggi il seguito »

Funzione per riempire una treeview da un dataset

17 gennaio 2008 - Fonte: http://ilpas.blogspot.com/
Dim DSNWind As DataSet

Dim CNnwind As New SqlClient.SqlConnection("DATA SOURCE=servername;USER ID=;PASSWORD=;INITIAL CATALOG=northwind;")

Dim DACustomers As New SqlClient.SqlDataAdapter("SELECT CustomerID, CompanyName, ContactName, Country FROM customers WHERE country = 'Germany'", CNnwind)

Dim DAOrders As New SqlClient.SqlDataAdapter("SELECT CustomerID, OrderID, OrderDate, ShippedDate, ShipVia, Freight FROM orders where customerid in (select customerid from customers where country = 'Germany')", CNnwind)

Dim DAOrderDetails As New SqlClient.SqlDataAdapter("Select * from [Order Details] where OrderID in (SELECT OrderID FROM orders where customerid in (select customerid from customers where country = 'Germany'))", CNnwind)

DSNWind = New...

Leggi il seguito »