使用linq在asp.net中上传文件 [英] fileupload in asp.net using linq

查看:106
本文介绍了使用linq在asp.net中上传文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用linq在asp.net中上传照片,该照片用于存储解决方案中的图像

how to upload a photo in asp.net using linq which is store the image coming under solution

推荐答案

我无法理解这个想法,并认为这没有任何意义. LINQ只是一种可以在.NET中使用的查询语言,它不能存储图像".此外,文件上传是在客户端通过将请求使用"POST"方法发送到HTTP服务器来发起的,而与.NET无关,因此.NET LINQ在这里不适用.

即使LINQ不能立即在Javascript中使用,也有一个名为 LINQ to JavaScript (JSLINQ)的开源产品.
请参阅 http://jslinq.codeplex.com/ [ ^ ]了解更多信息.

—SA
I cannot catch the idea and think it makes no sense. LINQ is just a query language which can be used in .NET, it cannot "store the image". Moreover, file upload is performed initiated on the client side by sending a request with the method "POST" to the HTTP server, which has nothing to do with .NET, so .NET LINQ is not applicable here.

Even though LINQ is not immediately available in Javascript, there is an Open Source product called LINQ to JavaScript (JSLINQ).
Please see http://jslinq.codeplex.com/[^] for more information.

—SA


这篇关于使用linq在asp.net中上传文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆