I need to load a picture to a pictureBox in a WindowsCE 6.0 . When I run the program in the mobile it tells me that it can t find the path. This is my code:
this.pictureBox1.Image = new Bitmap(@" Data Source = Program FilesDataImage20120523_1.jpeg ");
我已经尝试过这条路,但行不通:
path1: @"Program FilesDataImage20120523_1.jpeg"
path2: "Program FilesDataImage20120523_1.jpeg"
我有一个数据库 位于相同的路径 当我使用它来连接它的时候 它的工作正常, 为什么它不工作 装入图像?
SOLUTION This path works ok:
this.pictureBox1.Image = new Bitmap(@"Program FilesDataImage20120523_1.jpeg");
谢谢你的帮助!