S Samuel Shulman Nov 2, 2006 #1 I simply want to set the width of a column in the DataGrid Control Is there any way of doing that? Thank you, Samuel
I simply want to set the width of a column in the DataGrid Control Is there any way of doing that? Thank you, Samuel
S Siva M Nov 3, 2006 #2 Try setting the width attribute of the appropriat Style element: <asp:GridView runat="server" ID="myGrid"> <Columns> <asp:TemplateField> <ItemTemplate> </ItemTemplate> <ItemStyle Width="100" /> </asp:TemplateField> </Columns> </asp:GridView> I simply want to set the width of a column in the DataGrid Control Is there any way of doing that? Thank you, Samuel
Try setting the width attribute of the appropriat Style element: <asp:GridView runat="server" ID="myGrid"> <Columns> <asp:TemplateField> <ItemTemplate> </ItemTemplate> <ItemStyle Width="100" /> </asp:TemplateField> </Columns> </asp:GridView> I simply want to set the width of a column in the DataGrid Control Is there any way of doing that? Thank you, Samuel