[英]What should i use for an HttpPostedFileBase Read Type?
我有一个表单,用户可以在其中提交一些详细信息和任何类型的文件,现在由于上传的文件是 HttpPostedFileBase 类型,我如何从 GetString 安排阅读器以读取上传文件的文件名。 谢谢
代码错误
特性
为什么不通过以下方式检查文件扩展名: f.Substring(f.LastIndexOf('.')+1, 3));
[英]Should I convert image into HttpPostedFileBase?
[英]What data type I should use for versioning?
[英]What type of algorithm should I use?
[英]What type of collection should I use?
[英]What type of Queue I should Use and How?
[英]What type of variables should I use?
[英]What type of encryption should i use
[英]What type of project should I use for integration tests
[英]What type should I use for a 128-bit number in in .NET?
[英]What type should I use to indicate an argument is a filename in C#?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.