Vasu Gadhiya

Vasu Gadhiya

  • NA
  • 429
  • 100.6k

how to assign string to path of system.drawing.image

Jul 19 2013 8:53 AM
i have this code,

myitem.Image = pro.Properties.Resources.wheth_1;

Now,
i want to use 
myitem.Image = "pro.Properties.Resources.wheth" + "_1";

its occur error -> Cannot implicitly convert type 'string' to 'System.Drawing.Image'


path.combine  Or new Uri Not Working.



Answers (6)