|
My method doesn't seem to work!
Everyone help me !!
private void dgLevel_ItemDataBound (object sender, System.Web.UI.WebControls.DataGridItemEventArgs e)
{
for (int i = 0; i <e.Item.Cells.Count-1; i ++)
{
if (e.Item.ItemType == ListItemType.EditItem)
{
e.Item.Cells [i] .Attributes.Add ("Width", "40px");
}
} |
|