Hi,
declaratively
ItemStyle-Width="150px"
would work as well as if you specify it via code (via DataGrid's Columns
collection) but then something like:
DataGrid1.Columns(0).ItemStyle.Width=Unit.Pixel(15 0)
That's all I can really say without knowing more about your scenario. If
this doesn't help, please provide bit more details.
--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist
"Nedu N" <ne****@hotmail.com> wrote in message
news:Oc**************@tk2msftngp13.phx.gbl...
Hi,
I want to know what are all the ways with which we can precisely control
the
width of the datagrid columns. Iam facing problems in controlling the
width
of the datagrid columns.
Thanks