我的是说怎样能够只有图片类型的文件类型?其他什么所有类型都没有在文件类型中显示!我是用控件FileUpload 这个的 <asp:FileUpload ID="ImgFileUp" runat="server" />
。。。。
cn.SmallImag(this.PicUrl.PostedFile.FileName, picPath + picName);
this.Image1.ImageUrl = @"../GoodsPic/" + picName;
FullPath = @"GoodsPic/" + picName;
这段有点不明白啊!
你得试试吧,试试你才知道怎么弄!我也没具体弄过。
追问我什么弄啊,,都不懂picName ,cn ,picPath ,GoodsPic等等这些哪里来的?
本回答被提问者采纳