VS 2005
.NET 2.0
Resize control : Anchor
DataGridView can not automatically sort if the datasource from Arraylist even bounded the DataPropertyName. But can change the arraylist to datatable, but need to do manually.
Dim propertyList As ArrayList = propertyController.getPMPropertyList()
Dim dt As New DataTable
dt.Columns.Add("pid")
dt.Columns.Add("ptype")
dt.Columns.Add("street")
dt.Columns.Add("suburb")
dt.Columns.Add("state")
dt.Columns.Add("available")
dt.Columns.Add("rent")
dt.Columns.Add("oid")
dt.Columns.Add("pmid")
dt.Columns.Add("tid")
For Each objProperty As PropertyClass In propertyList
dt.Rows.Add(New Object() {objProperty.pid, objProperty.ptype, objProperty.street, objProperty.suburb, objProperty.state, objProperty.available, objProperty.rent, objProperty.oid, objProperty.pmid, objProperty.tid})
Next
Me.dgvProperty.DataSource = dt
Thursday, September 25, 2008
Friday, September 19, 2008
Bluetooth in window sp 2, 3 and vista
如果想用bluetooth on pc to transfer files, window sp2 已經有driver for bluetooth and able to transfer files, 但係大部份 bluetooth device (speaker, headphone) 都必須要夾埋service in order to make it work. 但對於舊既 bluetooth usb (即係 window sp1 既時候), 通常附送既CD 雖然有driver and utility, 但係window sp2裝到, 用唔到, 裝完My Bluetooth Place but 找不到 bluetooth 裝置.
Reason: I think it is because window knows the device and use window's diver. and the my bluetooth place can't detect it.
Solution: download other utility and driver, because of my level one bluetooth usb, i find one latest in level1.com but actually made by Toshiba. seems 30 days......><.... can run in vista.
http://download.level1.com/level1/driver/ToshibaBTS(5.10.02)_2007-03-01.zip
Reason: I think it is because window knows the device and use window's diver. and the my bluetooth place can't detect it.
Solution: download other utility and driver, because of my level one bluetooth usb, i find one latest in level1.com but actually made by Toshiba. seems 30 days......><.... can run in vista.
http://download.level1.com/level1/driver/ToshibaBTS(5.10.02)_2007-03-01.zip
Subscribe to:
Posts (Atom)