How To Set The Column Width Of a GridView

You don't see any "width" property in the columns collection,you can set the width of GridView column in code behind. protected void Page_Load(object sender, EventArgs e) { GridView1.Columns[0].ItemStyle.Width = 500; }
Reactions

Post a Comment

0 Comments

Close Menu