May 27 2008
Convert array of objects to array of strings
This is how to do it in one line in VB.NET. Very useful:
stringArray = Array.ConvertAll(Of Object, String)(objArray, AddressOf Convert.ToString)
May 27 2008
This is how to do it in one line in VB.NET. Very useful:
stringArray = Array.ConvertAll(Of Object, String)(objArray, AddressOf Convert.ToString)
Apr 01 2008
If you assign the same arraylist as a datasource for comboboxes on the same form they will appear to be linked together.
cbobox.datasource = al
I did not try to duplicate this effect but the solution I used was to iterate through the members of the arraylist and individually add items to the combobox.
For i = 0 to al.count-1
cbobox.list.add(al(i))
next
Sep 01 2007
Came across this fresh posting at an MSDN blog about free ASP.NET developer hosting at Verio until Jan 2010. The price is right. In the late nineties, I was partner in a business that hosted with Verio, and was never happy with their service, but getting something for nothing is definitely a better deal.
Jul 27 2007
Working in ASP.NET 1.1, I’ve been encountering a bug in VS2003 where event handlers are no longer allocated. e.g the “handles btnName.click” code disappears from the subroutine definition. One way to fix is to go back into the code and type the handler code, another to try re-clicking the control in the visual editor. I not the only one who has encountered this.