2009-03-27 10 views

답변

3

:

Me.myDatagridview.Rows(0).Cells(0).Style.ForeColor = Color.Aqua

0

이와 비슷한? 확실히

protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) 
{ 
    if (e.Row.RowType == DataControlRowType.DataRow) 
    { 
     string imageName = e.Row.Cells[0].Text.ToString(); 
     e.Row.Cells[1].Attributes.Add(“Style”, 
     “background-image: url(’images/” + imageName + “‘);”);  
    } 
} 
+1

포스트는 창 형태로 태그되어, vb.net – Maslow

관련 문제