Set the column width in the gridview
Asp: GridView ID = "gvNewDisposeDealer" runat = "server" AutoGenerateColumns = "false" AllowPaging = "True" BorderColor = "Silver" BorderStyle = "Solid" BorderWidth = "1px" EmptyDataText = "no data record !! "AllowSorting =" True "Height =" 111px "Width =" 764px "> <Columns> <Asp: BoundField DataField = "Work_group_name" FooterText = "company info" HeaderText = "company info" HtmlEncode = "False" SortExpression = "company info" ItemStyle-Width = "400px"/> <Asp: BoundField DataField = "cMemo" FooterText = "clerk" HeaderText = "clerk" HtmlEncode = "False" SortExpression = "salesman"/> <Asp: BoundField DataField = "cMaster" FooterText = "processing status" HeaderText = "processing status" HtmlEncode = "False" SortExpression = "processing status"/> </Columns> <Alternatingrowstyle backcolor = "# e0e0e0"/> </ASP: gridview> Itemstyle-width = "400px" indicates the column width. |