hello.
how could i increase the height of all coloumns of datagridview.??
thx for help.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Prabhu RajaPosted Sep 14, 2011, 8:50 AM
try this
for(int i=0;i
this.Gridvew1.Columns[ i ].Width = 201 ; // Put Size Here
}
------------------------------------------
If this post helps you, then mark as "Correct Answer"
Thank You
Priya LingePosted Sep 14, 2011, 7:30 AM
Please check this, will help you to increase the size of column.
http://www.codeproject.com/KB/printing/printingdatagridview.aspx
Hope this will help you.
Thanks.
Vijay YadavPosted Sep 14, 2011, 7:15 AM
Why you want to increase height of the datagridview, you can simply increase the font size and if you want to increase the width in order to view the full character then use
datagridivew1.Columns["Column Name"].Width = 100;
Or else, can you explain what exactly you want to do?