开发者

How to save image to application path and retrieve from application path

I have one project and in this project I want to save picture to application path and save the path to database as string and retrieve the image from 开发者_运维问答the application path. Can u give me some idea about it... i am using vb.net as frontend and ms access database


Getting the Application Path:

My.Application.Info.DirectoryPath

Combining Paths:

[System.IO.]Path.Combine(Path1, Path2)

Images:

yourImageObject.Save(yourPath)
yourImageObject = Image.FromFile(yourPath)
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜