セルにイメージを表示
//付箋の表示・非表示
int index=gcMultiRow1.CurrentRow.Index;
// Cell.Nameプロパティが"imageCell2"の場合
if (e.CellName == "imageCell2")
{
if (gcMultiRow1.GetValue(index, "imageCell2") .ToString()== "")
gcMultiRow1.SetValue(index, "imageCell2", File.ReadAllBytes("fusen.jpg"));
else gcMultiRow1.SetValue(index, "imageCell2", null) ;
}
