Dino Novak asked 2018-03-24 22:08:52 UTC
HI,
I am trying to set picture for some cells in DataGridView. Pictures are stored withing Resources folder locally on the server
dgwPictures.Rows[e.RowIndex].Cells[2].Style.BackgroundImageSource = "\..."
all is working fine if pictures do not have spaces in names, with pictures containing spaces picture is not displayed.
I tried using Uri.EscapeDataString(stringFileName) but no luck with it.
Thanx for help,
DiNo
Dino Novak asked 2018-03-24 22:08:52 UTC
HI,
I am trying to set picture for some cells in DataGridView. Pictures are stored withing Resources folder locally on the server
dgwPictures.Rows[e.RowIndex].Cells[2].Style.BackgroundImageSource = "\..."
all is working fine if pictures do not have spaces in names, with pictures containing spaces picture is not displayed.
I tried using Uri.EscapeDataString(stringFileName) but no luck with it.
Thanx for help,
DiNo