|
-
Feb 27th, 2007, 11:32 AM
#1
Thread Starter
Hyperactive Member
[RESOLVED] [2005] Data Grid View Display Fill Rows
I need help with what is probably a very simple solution.
Display Problem
I want to fill the entire DataGridView box with blank rows and columns when my form starts. Currently, only 1 row displays with the rest of the area with background color.
If you find information helpful from any member, please take a second and rate their post. Its a nice gesture of your appreciation.
"I have not failed 10,000 times. I have successfully identified 10,000 ways that will not work" Thomas Edison
Do illiterate people get the full effect of Alphabet Soup?
ADO FAQ 2005-2008 Masked Textbox Patch FoxPro Date MZ Tools Great Free Tool
-
Feb 27th, 2007, 02:40 PM
#2
Thread Starter
Hyperactive Member
Re: [2005] Data Grid View Display Fill Rows
If you find information helpful from any member, please take a second and rate their post. Its a nice gesture of your appreciation.
"I have not failed 10,000 times. I have successfully identified 10,000 ways that will not work" Thomas Edison
Do illiterate people get the full effect of Alphabet Soup?
ADO FAQ 2005-2008 Masked Textbox Patch FoxPro Date MZ Tools Great Free Tool
-
Feb 27th, 2007, 04:19 PM
#3
Re: [2005] Data Grid View Display Fill Rows
How many rows/columns? A quick and dirty solution would be to just create a DataTable and file it with empty rows/columns and use that as the datasource for your DGV.
-
Feb 27th, 2007, 06:30 PM
#4
Thread Starter
Hyperactive Member
Re: [2005] Data Grid View Display Fill Rows
Guess I should have looked a little deeper.
Solved it
DataGridView1.RowCount = 12
If you find information helpful from any member, please take a second and rate their post. Its a nice gesture of your appreciation.
"I have not failed 10,000 times. I have successfully identified 10,000 ways that will not work" Thomas Edison
Do illiterate people get the full effect of Alphabet Soup?
ADO FAQ 2005-2008 Masked Textbox Patch FoxPro Date MZ Tools Great Free Tool
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
|