浏览当地文件夹和保存到当地文件夹

2019-04-15 14:18发布

                         string baocun = "D://pic//" + name.Text.ToString() +"-"+ Password.ToString() + ".jpg";
                            if (baocun != "")
                              viewpb.Image.Save(baocun);//保存文件夹                  OpenFileDialog fDilag = new OpenFileDialog();
              fDilag.Title = "Please You Choose The Path Of The Modified DataBase!";
              fDilag.InitialDirectory = @"d://pic";//浏览文件