2009-03-27 12 views

Antwort

3

sicher:

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

0

So etwas ähnliches?

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

Posten als Fenster Formen gekennzeichnet ist, vb.net – Maslow