C#把图片相对路径存入SQL数据库

[复制链接]
查看11 | 回复2 | 2013-6-15 18:26:02 | 显示全部楼层 |阅读模式
int n = int.Parse(Request.QueryString["id"].ToString());
int TID = n;
int ID = df.GetMaxReportImage();
string bath = "";
Boolean fileOK = false;
//获取与虚拟目录相对应的物理路径,将传给SaveAS函数
string path = Server.MapPath(Request.ApplicationPath + "/File/");
...
回复

使用道具 举报

千问 | 2013-6-15 18:26:02 | 显示全部楼层
?0?2private FileInfo fInfo;?0?2OpenFileDialog opf = new OpenFileDialog(); if (opf.FileName != null)
{
...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行