2009-03-27 12 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

ポストは、Windowsフォームとしてタグ付けされ、vb.net – Maslow

関連する問題