|
-
Aug 8th, 2012, 02:48 PM
#1
Thread Starter
Lively Member
ArrayList view in DataGridView
Hi,
I have created an ArrayList that I am filling with names of cities that I retrieve from an Acces database. No problem there since I have inserted MsgBoxes to check the progress and I can see each name for each city being stored in the array as the procedure is running.
However, in displaying the ArrayList later on in a DataGridView, instead of getting the names of the cities, I get the number of characters for each city name (column header in DataGridview is also called ‘length’). So e.g. ‘London’ becomes ‘6’.
Anyone who knows where I go wrong or how to fix this ? I looked into the properties for the DataGridView, but there seems to be nothing there that can offer any help.
Thanks !
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|