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.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,
Please login first to submit.