I am binding a table to a gridview in asp.net as such
grdIssues.DataSource = mdtIssues; grdIssues.DataBind();
The problem is I cannot the
I did it as:
gridView1.HeaderRow.Cells[0].Attributes["Width"] = "100px"; gridView1.HeaderRow.Cells[1].Attributes["Width"] = "50px"; gridView1.HeaderRow.Cells[2].Attributes["Width"] = "200px";