将图像保存在文件夹或数据库中 [英] Saving Image In Folder or Database
本文介绍了将图像保存在文件夹或数据库中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在我的Windows窗体中,我需要保存我的学生资料图像.....这对于更好地保存在文件夹或Sql Server数据库中.....因为在工作时我将图像另存为picLogoImage.Image.Save( "D:\\ StudentProfile \\ StudentProfile \\ Images \\ suresh.jpg");解决方案资源管理器中的图像文件夹中.....但是将表单转换为可执行路径或移至其他路径后.....我如何保存...
In my windows form I need to save my Student Profile Image.....for that which is better Saving in Folder or Sql Server DataBase.....Because while working i save image as picLogoImage.Image.Save("D:\\StudentProfile\\StudentProfile\\Images\\suresh.jpg"); in my solution explorer Images folder is there.....but after my form is converted to executable path or moved to some other path .....how can I save...
推荐答案
这两个将指导您在数据库中获取图像:
使用Microsoft .NET从SQL Server存储和检索图像 [ ^ ]
使用C#在SQL Server数据库中存储或保存图像 [^ ]
This Two will guide u to ave image in database:
Storing and Retrieving Images from SQL Server using Microsoft .NET[^]
Store or save images in SQL Server database using C#[^]
这篇关于将图像保存在文件夹或数据库中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文