Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to dynamically set DataGrid Column width to suit data

Status
Not open for further replies.

Nautalus

Programmer
Jun 23, 2002
13
AU
Anybody know how to set the column width in .Net windows forms datagrid?

I want to set it to the width of the data. I can do it from the column header with a mouse but I want to do it programatically.

Any help appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top