从图像控件将图像存储在数据库中

问题描述:



我想从asp.net中的图像控件保存数据库中的图像c#

Hi,
I want to save image in database from a image control in asp.net c#

Already another thread solved this issue.Look 





将图像保存到asp:图像控件的文件夹中[ ^ ]


string FileName = Path.GetFileName(FileUpload1.PostedFile.FileName);

FileUpload1.SaveAs(Server.MapPath(〜/ Image / + FileName))
string FileName = Path.GetFileName(FileUpload1.PostedFile.FileName);
FileUpload1.SaveAs(Server.MapPath("~/Image/" + FileName))