在C#的Web的界面上加載HTML的File Field控件,其ID為File1.
在.CS文件中如此使用
string strName = File1.PostedFile.FileName;
錯誤提示:
The type or namespace name 'File' could not be found (are you missing a using directive or an assembly reference?)
請問,這控件的命名空間是?
還是我的使用方法不對
望各位大俠指教
在.CS文件中如此使用
string strName = File1.PostedFile.FileName;
錯誤提示:
The type or namespace name 'File' could not be found (are you missing a using directive or an assembly reference?)
請問,這控件的命名空間是?
還是我的使用方法不對
望各位大俠指教
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货