Web Forms :: Provide Application That Allows Uploading Of A Csv File?
Jul 30, 2010Where can i find a good source to accomplish this? It needs to allow only excel or csv file uploads, which would be inserted into the database.
View 12 RepliesWhere can i find a good source to accomplish this? It needs to allow only excel or csv file uploads, which would be inserted into the database.
View 12 Replieshow to show the progress bar when file is upolading
in windows application with C#
i want my application to provide a web ui for remote access, but i do not host that web page in IIS, because i do not want everyone install IIS on their home PC.
i spend some reading the asp.net pipeline, but still not figure how to load the .aspx file in my code.
We are programming a new web application framework (Second WAF). I was wondering if we should support cookieless sessions or not. Who use it and who needs it?
View 2 Repliesi am using a file uploader to upload files. Now when i am using this on a mobile emulator with default browser IE it is uploading only those files whose name is less than 6 character. the files with name more than 6 character is not uploading through mobile emulator or mobile phone (PDA). I need this solution very soon.
View 1 RepliesIn my asp.net project i have a folder (folder name "Data").
I upload .pdf file and save the .pdf file in My Data folder.
In same day if i upload same name file then the previous file is overwrite without any message.
So I would like to know, how can i show a message like ("same name file is exit ,Do u want to replace it").
I want to create Plugins or add ons for my application which provide search logic like google..
in asp.net is there any possibility then give me a answer>>
while uploading the file on the local host it works fine.but the same coding does not work on the webserver. is there anything to do with the foldr read and write permissions.i m using the server.map for finding the path of the browsed file.
protected void btnLogin_Click(object sender, EventArgs e)
{
try
{
string fold = "images";
string Name = FileUpload1.FileName;
sring path = Server.MapPath("~" + "/" + fold + "/" + Name);
[code]...
i hv not used any database for storing the path of the image.
I have a Web application in which I'm trying to use the new AJAX AsyncFileUpload control. I want to use it in the ModalPopupExtender, and I want to embed these two AJAX controls in a user control (photo_upload.ascx) for re-use in different parts of the application. (I understand that this wasn't possible with the older FileUpload control but that it is with this most recent AJAX tool.)
Presently, I merely redirect the user to an upload.aspx page that includes the photo_upload.ascx control (see the sequential screenshots in the attached image); but while this way of doing things "works," it becomes very confusing for the user who has already clicked an upload button or two. In other words, when the "Add Yours" button is clicked, the panel with the "(1) Upload Photo" button unhides; and when the Upload Photo button is then clicked, the user is redirected to the control in the bottom screen. I would gladly bypass the 1, 2, 3 steps in the second screen after the "Add Yours" button is clicked and redirect straightway to the upload control (in the bottom screen, which I will like to be in a ModalPopupExtender), but I also need a way for them to enter a caption that will go with the uploaded photo.
(image removed)
My VB code for the above steps is included below. I would appreciate any fresh ideas on how to accomplish my above objectives.
[Code]....
i m uploading file using fileupload control. when i upload mp3 file with more than 4 MB size it gives error like page can not be displayed. how can i increase capasity of uploading file in my project.
View 6 RepliesI will be creating a webform that will require online application and sending/uploading of resume that will later be forwarded to an e-mail address (the resume will be an email attachment). I badly need some tips on this! Really new at these things. I will be using VB to code the web form.
View 2 RepliesI've got a script below that uploads multiple files and works fine. I am trying to rename them as I upload them and I'm having some trouble figuring it out.
[Code]....
From this line
Path.GetFileName(hpf.FileName + "-" + recordID + "-" + i));
I am trying to rename the file with the record ID (from a querystring) and also the upload number of the file that is being uploaded (2 of 3 etc).
how can i achieve this?
i will set a random number for uploading files. how could i do that?
is it possible to set a random name with 20-50 characters?
im trying to upload a 8mb of pdf file but im getting Request Timeout error, below code i have mentioned in the web.config file. In my web page i have used AJAX Scriptmanager, Updatepanel.
<httpRuntime maxRequestLength="25600"/> below is the error message
Server Error in '/' Application.
Request timed out. Description: An unhandled exception occurred during the execution of the current web request. review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.HttpException: Request timed out.
Source Error:
[Code]....
Stack Trace:
[Code]....
[HttpException (0x80004005): Request timed out.]
Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3614
I am uploading this file using browser using the upload control. I owuld like to know how to fetch the path of the file in the computer. I am not talking about the server. But the path of the computer from which it is getting uploaded.
View 11 Repliestry
{
String path = Server.MapPath("CenterVideoUpload/");
if (FileUpload1.HasFile)
{
FileUpload1.PostedFile.SaveAs(path +
FileUpload1.FileName);
string imagepath = "/CenterVideoUpload/" + FileUpload1.FileName;
[Code] ....
Error:-webpage not available
With the ajax file uploader, would it be possible to check the size of the image before uploading?Currently, it uploads the file to the server and then lets me know that it's bigger than the limit size.
I was able to upload 4MB size audio file in my database. The problem occurred when I tried to upload 90MB .mp3 file to MS-SQL Server 2005. only 4MB is allowed by default. I increased the default size in the web config to 195MB,and it's still not working. The following code depicts the size that I currently set in the web config.
<httpRuntime
i am doing an task about uploading & retrive video file in asp.net. first of all tell me How Can we Upload Video files In sql server? then second one is How Can we displays that uploaded video files in my web page?
View 3 RepliesI want to upload the file to the folder and then save it using the button click ... need to pass its link to the database how would i do that?
View 8 RepliesI have a web site that publish to the production site after I make changes. I do this from VS 2008, by clicking Build, then Publish Web Site. How can I do the publish without uploading the web.config file each time? I do not want to update the web.config each time because I use a different database for my testing here locally.
View 13 RepliesI am using Standard control FileUpload asp.net to upload a simple file to server. When I select a file and submit, the page is refreshed to the file is uploaded to server. Then I using a UpdatePanel to perevent the refresh. But in this way the file is not uploaded and FileUploaded.HasFile property return false. What can I do?
View 3 Repliesi am trying to test to see if i get an error if i upload more than 3mb file size but instead i get the IE error (see below)
here is the code i have. - what i want is if the user try to upload more than 3mb file size display an error
[Code]....
[Code]....
the bestway to handle multiple file uploads without activex,applet or flash. User should have the ability to select multiple files in one browse click.
View 3 RepliesI am developing website in asp.net,I am hanging up in following problem:
I have 2 subdomains (say admin.D1.com & sms.D1.com).
For security purpose, I want to save and retrieve image files at particular folder(say Fldr1),above to both subdomains.(File should be saved and retrieved from both the subdomains)
[code].....
It gives follwing error:
"The SaveAs method is configured to require a rooted path, and the path [URL] is not rooted."