Click here to Skip to main content
15,895,084 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I'm very knew to windows application, I usually make websites. I've got a few queries with the datagridview.

> the first column with the * how do I remove that?
> and I would like it to show alot of rows although they are empty.

Can someone please help me.
Posted

1. Set RowHeaderVisible property to false.
2. Please describe second problem a bit more. May be you are looking for AllowUserToAddRows property.
 
Share this answer
 
Thanks for the reply.

About my second problem, I didn't want the grey background, and then white with gridview lines there were data is, this does not look neat.

I changed the background color to white and the gridlines are off, now it looks much neater, although I do not know if this is the correct way to do it.
 
Share this answer
 
Comments
dan!sh 30-Jul-10 9:00am    
I believe it is simpler way.

BTW, please do not post replies to your questions. Use comments or edit the post.
Toli Cuturicu 30-Jul-10 9:04am    
Reason for my vote of 1
fake answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900