I ve created columns of my datagrid using this,
private void Receive_Load(object sender, System.EventArgs e)
{
dt.Columns.Add("Sender",typeof(string));
dt.Columns.Add("Time",typeof(string));
dt.Columns.Add("Message",typeof(string));
}
- How can i dynamically assign a column width to a winforms datagrid?