protected void ImagesGrid_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType != DataControlRowType.Header && e.Row.RowType != DataControlRowType.Footer)
{
if ((e.Row.RowIndex - 1) % 3 == 1)
{
for (int i = 0; i < ImagesGrid.Columns.Count; i++)
{
e.Row.Cells[i].Style.Add("border-bottom", "black 2px solid");
}
}
}
}
Программеры курят быстро. Потому что мысль. Потому что она уйдет и придется думать ее снова...