Hello - I am trying to have my data in my gridview align to the top of the cell.
The following code is not workingin my grid_rowdatabound event
e.Row.Cells(0).Attributes.Add("style", "valign: top;")
and also
e.Row.Cells(2).Style.Add("valign", "top")
Both do not work
Does anyone know the correct code?
Thanks in advance
Dave
The following code is not workingin my grid_rowdatabound event
e.Row.Cells(0).Attributes.Add("style", "valign: top;")
and also
e.Row.Cells(2).Style.Add("valign", "top")
Both do not work
Does anyone know the correct code?
Thanks in advance
Dave