j_sen21

j_sen21

  • NA
  • 57
  • 0

DataGridView

Dec 4 2007 12:07 PM

Hello is there an easy  way to set the column width in a datagridView.

There is a  DataGridViewAutoSizeColumnMode, but I dont know how to set the columns to

System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;

Im using :

dataGridView.DataSource = convertDStoList((m_ResultDS.Tables[sNodeParentText]), e.Node.Text);  to add the information to it.

Thanks

 


Answers (1)