摘要: 今天偶然发现<input type="file"/> 无法获取完全路径,获取到的只是文件名 在网上搜了半天也没有个真正能解决的帖子.....研究了一下,当提交时所有信息都保存在Request中Request.Files["upd_file"]可以保存客户端所有以上载的文件信息,但是在firefox中还是文件名,发现还有个叫PhysicalPath的属性(微软要闹哪样非要与众不同?%>_<%)这个是可以获取到全路径 View Code 1 string file = string.empty; 2 3 file = Request. 阅读全文
posted @ 2012-11-10 11:45 五块五卖你了 阅读(403) 评论(1) 推荐(0)
摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Data; 5 using System.Drawing; 6 using System.Linq; 7 using System.Text; 8 using System.Windows.Forms; 9 10 namespace WindowsFormsApplication111 {12 public partial class Form2 : Form13 {14 ... 阅读全文
posted @ 2012-11-05 11:53 五块五卖你了 阅读(357) 评论(0) 推荐(0)
摘要: View Code 1 <html> 2 <head> 3 <meta charset="gb2312"> 4 <title>Pinterest/瀑布流布局</title> 5 <style> 6 .waterfall{position:relative; margin:0 auto;} 7 .waterfall .item{width:210px; display:none} 8 .waterfall .item:hover{opacity: 0.9} 9 .loading{text-align:ce 阅读全文
posted @ 2012-11-05 11:49 五块五卖你了 阅读(442) 评论(0) 推荐(0)