|
-
Sep 7th, 2011, 06:26 PM
#6
Thread Starter
Member
Re: DataGridView output not showing?
 Originally Posted by .paul.
the way you were adding, you were adding 2 items to 2 rows, instead of 2 items to 1 row.
every time you call dgv.Rows.Add it adds a new row.
I don't know why this didn't dawn on me earlier, it seems self evident to me now though, haha.
As far as using the split method goes, I understand that I can use a space character as delimiter .split(" "c), but what should I do to use that in the DGV? Should I edit my structure to include 'firstName' and 'lastName' instead of just 'name'?
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
|