解决方案 »
- 如何将textbox的多行数据一行行的添加到数据库中?
- 如何测试logout后的session过期?
- listview 嵌套 dropdownlist的问题
- asp.net 怎么实现在现音乐播放?谢谢
- 对gridview中某一行的处理
- 求助!WEB服务器报告如下错误:http/1.1 500 Internal Server Error.
- 急。没分了。关于在字符串里查找某个字符出现的位置。谢谢!
- 以前用vb.net写asp.net的程序,现在开始学C#了,关于C#区分大小写的问题。帮一下呀~~~来的有分~~~~~
- ascx文件使用的问题
- DataGrid 在 databind 后,怎么 Columns.count 是 0 ?
- 谁能帮我做几张动态网页啊,急死我啦!!!
- 我想开发一套操作数据库的.net 框架
服务器上d:/nopicture.jpg图片路径存在吗?
应该用Server.MapPath径吧
int imageSize =(int) fs.Length;
byte[] imageContent = new byte[imageSize];
fs.Read(imageContent, 0, imageSize);
Response.ContentType = "application/octet-stream";
Response.BinaryWrite(imageContent);
改成这样也不行
d:/nopicture.jpg" 说明你在本地测试的时候D盘有这个图片