C# ASP.NET Upload
-
16 марта 2012 г. 15:11Trying to create a mobile site that allows users to upload photos from their phones to a database, however when the browse button is clicked to choose a photo to upload it opens in root directory of phones. Is there a way to set the path that the browser will open up in to select the photos?
- Перемещено Mike FengMicrosoft Contingent Staff 19 марта 2012 г. 9:25 Asp.net (From:.NET Base Class Library)
Все ответы
-
16 марта 2012 г. 15:13Off topic here, I would say. Try http://forums.asp.net.
Jose R. MCP
-
16 марта 2012 г. 20:22I think it is as in normal web site, you need to use custom javascript to intercept the Choose File option. This might be problem in some mobiles, because of an javascript support and also browser differences. You can find examples from Google or as noted by webJose, use ASP.NET forums where this kind of an question is like a challenge to find the solution.
-
17 марта 2012 г. 22:14What are you #using to develop have you though about asp.net? I would need some more specifics I think most people here would need to know the specific problem? If you create a database first this should start to become apparent you will have a say in ASP an image object included in the database and people will be able to save images within that field. SO start out figureign out what program you are usign to develop and if that is the .NET framework THEN figure out which peice of the framework you are using THEN go to the appropriate forum if you run into problems. That is how I learned anyways. C# may be rather clunky to a progammer if you are just trying to do that. I may also point out LIGHTSWITCH is a fairly inexpensive application that builds databases and there is a preprogramed image object in it. It cost only 300$ 200$ if you do the eval and they send you the discount code. If you own Visual Studio Pro it is free.

