Fileupload control in asp.net Part 30

Поделиться
HTML-код
  • Опубликовано: 21 янв 2025

Комментарии • 110

  • @shahirsuliman8312
    @shahirsuliman8312 8 лет назад +6

    VARY USE FULL THIS VIDEO THANKS SIR.

    • @Csharp-video-tutorialsBlogspot
      @Csharp-video-tutorialsBlogspot  8 лет назад +3

      Thank you very much for taking time to give feedback. This means a lot. I am very glad you found the videos useful.
      I have organised all the Dot Net & SQL Server videos in to playlists, which could be useful to you
      ruclips.net/user/kudvenkatplaylists?view=1&sort=dd
      If you need DVDs or to download all the videos for offline viewing please visit
      www.pragimtech.com/kudvenkat_dvd.aspx
      Slides and Text Version of the videos can be found on my blog
      csharp-video-tutorials.blogspot.com
      Tips to effectively use my youtube channel.
      ruclips.net/video/y780MwhY70s/видео.html
      If you want to receive email alerts, when new videos are uploaded, please subscribe to my youtube channel.
      ruclips.net/user/kudvenkat
      If you like these videos, please click on the THUMBS UP button below the video.
      May I ask you for a favor. I want these tutorials to be helpful for as many people as possible. Please share the link with your friends and family who you think would also benefit from them.
      Good Luck
      Venkat

  • @sathyanarayanana.v2391
    @sathyanarayanana.v2391 9 лет назад +8

    Dear Sir,My friend told me about your videos 2 years ago. Then I started watching all your videos and trying to become a software developer. These videos are awesome - you are making everyone say zero to hero Sir!!.

  • @Csharp-video-tutorialsBlogspot
    @Csharp-video-tutorialsBlogspot  11 лет назад

    Hi Davis, Thank you very much for taking time to give feedback. If you want the files to show up in solution explorer, click on SHOW ALL FILES Icon in solution explorer. It's the second icon from left, in the solution explorer. Hope this answers your question. If you want to receive email alerts, when new videos are uploaded, please feel free to subscribe to my youtube channel. If you like these videos, please click on the THUMBS UP button below the video. Good Luck.

  • @Brundine
    @Brundine 9 лет назад +1

    Absolute amazing. Im the biggest noob when it comes to asp.net. But you just made me love it and gave me hope to finish my education.
    I could really use a teacher as you in my school.
    Thank you so much for this absolute amazing tutorial :)

  • @Trzbne
    @Trzbne 6 лет назад +1

    I love your tutorials! You make me feel relaxed, no stress attached to learning time :-) You are the best teacher ever!
    Be careful with upload, it does not protect with files with the same filename, the new file will simply overwrite the older one.

  • @Csharp-video-tutorialsBlogspot
    @Csharp-video-tutorialsBlogspot  11 лет назад

    Thank you very much for taking time to give feedback and for subscribing. In the description of this video, I have included the link for ASP .NET, C#, and SQL Server playlists. All the videos are arranged in logical sequence in these playlists, which could be useful to you. Please share the link with your friends who you think would also benefit from them. If you like these videos, please click on the THUMBS UP button below the video.

  • @imanebelhaous717
    @imanebelhaous717 11 лет назад

    Your demonstration's very clear and goes directly to the point! Well done!

  • @la7289
    @la7289 2 года назад

    you are amazing literally my prof. spent 30+ mins explaining this and I was lost

  • @shubhenduinfotech5992
    @shubhenduinfotech5992 3 года назад

    I love you sir for your time and for your wanderful videos. Love you lot sir 💓

  • @Csharp-video-tutorialsBlogspot
    @Csharp-video-tutorialsBlogspot  11 лет назад

    Hi Davis, sure, I will try and record a video on this concept and upload as soon as I can. Thank you very much for your patience.

  • @anthony281190
    @anthony281190 9 лет назад +2

    Very very important this seccion!! Thanks for you video!!!

  • @HidanTF2
    @HidanTF2 11 лет назад +2

    Thanks you so much for all your tutorials, you're the best ;)

  • @TamilDove
    @TamilDove 6 лет назад +1

    Superb. Excellent explanation. It's very useful for learners. Your way of teaching is very good. Keep it up. Please upload like this controls in asp. Net, c# as you can. Thank you.

  • @somyaverma4083
    @somyaverma4083 2 года назад

    Thank you so much...... very usefull video.....keep doing this 👏👏

  • @jj-gh1fl
    @jj-gh1fl 12 лет назад

    Simply, Superb..
    Thanks venkat for such an excelent vedeo tutorial

  • @user-xw6sx1os6g
    @user-xw6sx1os6g 3 года назад

    Thanks Man for this very useful video.

  • @PCANIMAL1
    @PCANIMAL1 10 лет назад +2

    HELP why your Fileupload control gives you the complete PATH C:\Test Analyst.doc and my control only gives me Test Analyst.doc

  • @mariadaluzsousasantos39
    @mariadaluzsousasantos39 7 лет назад

    Thank you very much. It's a very clear explanation.

  • @juliobarriga
    @juliobarriga 11 лет назад +4

    Hi Venkat, is there any other way to check for extension files? this code seems not to work with WAV (sound) files. The page gets redirected to a blank page with message "Webpage is not available"

  • @jimmydeanbakker
    @jimmydeanbakker 6 лет назад

    Can I just say your videos have saved me more than a few times?
    I did this in my file program for the length of the file.
    System.IO.FileInfo f = new System.IO.FileInfo(Fileupload1.PostedFile.FileName);
    When I went to check the size of the file, I used the f.Length, and it didn't work in Chrome or Firefox. It only worked in IE. The Fileupload1.PostedFile.ContentLength worked perfectly across all browsers. So, I thank you for that.

  • @eoussama
    @eoussama 6 лет назад

    Just what I wanted, thank you very much.

  • @kamrankhan-up9od
    @kamrankhan-up9od 8 лет назад

    sir you are a true teacher

  • @Csharp-video-tutorialsBlogspot
    @Csharp-video-tutorialsBlogspot  11 лет назад

    Hi Aniruddha, absolutely. There is no reason why we can't do it.

  • @georgigeorgiev4871
    @georgigeorgiev4871 8 лет назад

    Mr. Venkat, why do you prefer using nested ifs and not else if construction in this case?

  • @eduardorada1869
    @eduardorada1869 5 лет назад

    Excellent explanation. Thank you.

  • @CodingSquid
    @CodingSquid 7 лет назад +2

    Hi Venkat, I’m a big fan of your videos. I have one useful thing to add for this lesson. Add “accept” to file upload control in aspx file (since were
    looking for doc or docx)
    This sets the default file type to doc or docx in the selection window on the client.
    I thought this might help some of your viewers. Many thanks to you
    sir!

    • @gsb22
      @gsb22 7 лет назад

      I was watching this video offline and came here only to see if someone has pointed this out or not. This approach is better since it removes all the extra efforts in the very beginning.

    • @elderofzion
      @elderofzion 7 лет назад

      cool

  • @MSum5
    @MSum5 6 лет назад

    I followed this tutorial but I modified the code to suit my purpose. I wanted to upload 6 different types of images. Including Photoshop and Illustrator files. When it came time to write the codes for maximum file size I was getting an error on int. Visual Studio didn't give me the autocomplete of int. It was giving me Init. I worked on this a good 45 minutes. The problem or error was so simple I was typing Int instead of int. Your C# code worked great. I wasn't writing the code on an IIS localhost server. I was writing the code on a Production IIS web server.

  • @kfares29
    @kfares29 11 лет назад

    your demonstration is clear, thanks :)

  • @hibaderieh
    @hibaderieh 11 лет назад

    Your are really Great!! Thanks alot for sharing your knowledge!:D

  • @miguelangelespinosagarcia5572
    @miguelangelespinosagarcia5572 8 лет назад

    Thank u so much by all your videos

  • @earl13371
    @earl13371 11 лет назад

    Wow kudvenkat, thanks for the quick reply. I understand it is not good practice to have uploaded files go directly into the project, but rather to have them go to some place outside the project or to partition the file in some part of the project so there is no direct access to the project by the user. Do you cover this subject in any of your videos?

  • @MrChezco1995
    @MrChezco1995 9 лет назад +2

    Useful stuff! Thanks! :D

  • @deepughreja1711
    @deepughreja1711 9 лет назад +2

    Absolute amazing

  • @mouradbarakat123
    @mouradbarakat123 12 лет назад

    Great presentation. Thank You!

  • @divyashrivastav2447
    @divyashrivastav2447 Год назад

    If we want to give control for uploading only csv file then what we have to give condition? Because when I giving extension=.csv then any file is getting uploaded though it docs because I gave extension of .csv. Please let me know???

  • @AnnoyingErrors41
    @AnnoyingErrors41 6 лет назад

    I have 3 FileUpload controls and all are set to accept images and allow nulls. The problem here is I have to upload something to all three or else it gives an exception saying the path was not found. Can someone help me out in this?

  • @snigdharanjit6050
    @snigdharanjit6050 6 лет назад

    thank you so much sir.... i am very much pleased with your answer

  • @xaeropredator
    @xaeropredator 9 лет назад

    I have a question i tried to upload a file a little bigger than 2mb and the if statement worked but when i tried to upload file larger than 5 mb i got an exception "Maximum request lenght exceeded. Shouldn't the if statement work for any file over 2mb ?

  • @elioalvarado8894
    @elioalvarado8894 6 лет назад

    You are the best

  • @JaffarQambar
    @JaffarQambar 5 лет назад

    thank you for your great tutorials. I have one question what if I want to replace the existed uploaded file with the new file uploaded by the fileupload.?

  • @dgloria
    @dgloria 9 лет назад +2

    Very useful!!!

  • @wcdeich4
    @wcdeich4 6 лет назад

    Is there any way to make 'text box part' of the upload control longer?

  • @dipeshsoni496
    @dipeshsoni496 7 лет назад

    In the SaveAs method you used the FIleName to Retain the Client File name. Can you tell me where are we retaining it and why are we retaining it ?
    I am New to programming.
    Hope to hear back from you.

  • @advance4u147
    @advance4u147 4 года назад

    sir ,in one dropdown in which checkbox/checkbox list option ,ckecked value save in sql,plse example

  • @KaranKumar-ek2zk
    @KaranKumar-ek2zk 6 лет назад

    very very useful video thanks a lot sir

  • @kristinahominich9015
    @kristinahominich9015 11 лет назад

    Hi Venkat, I've tried to upload video file and it gave me an exception. What else is missing in the code to make it work properly?

  • @krismaly
    @krismaly 11 лет назад

    I enjoyed this video. Is there any way how to know what is the maximum file size that can be up loadable?
    Another question I want to save the text Box value on a page in to a file which is in the project and I would like to retrieve back the same value to text box. in which video I can find? Thanks a bunch.

  • @manojkashyap9460
    @manojkashyap9460 6 лет назад

    Sir how can I get fileupload value in edit mode in asp.net form. Just want to show in gridview and retrieve value in form.
    Plz help me sir. It is urgent

  • @Yamikp1332
    @Yamikp1332 11 лет назад

    Venkat, can you please tell me if I uploaded image files and want to put them on webpage just like flickr or facebook then how can I do that ..?after click upload button and then it will also comes on webpage in box and when we click on it any of pictures will open in big view...!and also can we select more than one file togather for upload,,,..?

  • @mohamedabdlaal
    @mohamedabdlaal 11 лет назад

    hi kudvenkat how can i save img in cookies or hold it in master page in all pages like facebook my img every where thanks

  • @earl13371
    @earl13371 11 лет назад

    All of your posts are excellent and thank you for the effort. I am new to all of this an can follow your explanations without difficulty. Do have a question regarding the Upload File. On my pc I can find the file in Explorer, just as you said. However, if the file was on a server somewhere, were would I find the file, as it does not actually show up in the project itself? Thanks again.

  • @mohammedriyadh5218
    @mohammedriyadh5218 11 лет назад

    My Friend your R Awesome

  • @dragonv7863
    @dragonv7863 8 лет назад

    Hello Venket, this a very good and helpful video. I have one question, how do you check for existing file name? and give option to replace it.
    Thanks

  • @amaanimtiyaz
    @amaanimtiyaz 7 лет назад

    I do not get FileUploadl feature in my visual studio

  • @MSum5
    @MSum5 6 лет назад

    Well there is a file size upload limit. I can't get past that limit. I tried to modify the web.config file. Some Photoshop PSD files can be 50MG. So I took off the psd and ai extensions from the C# code The lblMessage.Text for file size is not showing a netframework yellow and white page is showing up.

  • @josephoyila6913
    @josephoyila6913 11 лет назад

    Great videos, plese and please reply us pls , Venkat! I was working on a page where I want the files to be uploaded and then displayed on the page as links that will download the file. How should I go about doing this?

  • @CastrocJorge
    @CastrocJorge 11 лет назад

    thank you very much, I subscribed

  • @j0ej0hn
    @j0ej0hn 11 лет назад

    Great videos, Venkat! I was working on a page where I want the files to be uploaded and then displayed on the page as links that will download the file. How should I go about doing this?

  • @babkenmakaryan7225
    @babkenmakaryan7225 8 лет назад +1

    How can i upload a file in iis 10 if the max size of uploading is 4 mb, what would i change in web . config

    • @armendovlatyan5668
      @armendovlatyan5668 8 лет назад

      I have the same problem.



      I tried this but it brings the same error(maximum request length exceeded).
      What can me and Babken do?

    • @slobodantajisic2762
      @slobodantajisic2762 7 лет назад

      If you are using IIS for hosting your application, then the default upload file size if 4MB. To increase it, please use this below section in your web.config -

      For IIS7 and above, you also need to add the lines below:

  • @shivendrachauhan7578
    @shivendrachauhan7578 4 года назад

    Is there any video tutorial to show preview of pdf/jpg file in a modal c#?
    Thanks for this video.

  • @qualityrenov
    @qualityrenov 8 лет назад

    I can't thank you enough! very good tutorial. do you have any tutorials about validating a schema (.xsd and xml file) file in ASP.NET? thanks in advance.

  • @SachinThoratsandy007
    @SachinThoratsandy007 9 лет назад +2

    everything is working just i want to know how to upload a file which are in Gbs...reply soon and thanks for the help

  • @earl13371
    @earl13371 11 лет назад

    kudvenkat, I have watched a number of your fantastic videos - thanks for all your work. This video tells how to upload to a file and in the Wizard videos you mention uploading to a data base. Have you done a video on uploading a wizard form (which contains both text/labels, and images? Is it possible to make a form with wizard which contains images (i.e. .jpg) and text input by a user which can be uploaded to a folder. Thanks.

  • @himalmevada7989
    @himalmevada7989 3 года назад

    well explained sir thank you

  • @mannamramakrishna4847
    @mannamramakrishna4847 2 года назад

    How to view the uploaded from the user side ( Client side ) after uploading it

  • @kunalvashisht470
    @kunalvashisht470 4 года назад

    Can you tell me how to upload same file in shared network folder ?

  • @KiranNadukula
    @KiranNadukula 11 лет назад

    Thank you, Sir!!!!!!!!

  • @sylviamountain6787
    @sylviamountain6787 7 лет назад

    Can't find FileUpload, please can you show me how to upload file in visual studio 2013 by making a video of it. Thanks

  • @er.tanwartajbakshcrazycoder
    @er.tanwartajbakshcrazycoder 5 лет назад

    how to save uploadded file url in database table and file save in folder ?
    plz help me sir

  • @milanvala8889
    @milanvala8889 7 лет назад

    its amazing...

  • @nishabhowmick888
    @nishabhowmick888 5 лет назад

    My debug option r always disable after that when I debug first time pls help me out how to enable debug for continue????

  • @rahimbakashk1442
    @rahimbakashk1442 8 лет назад +1

    how can i Upload a file which is More than 100Mb using this File Upload Control....?

  • @sunilmithari
    @sunilmithari 11 лет назад

    great sir
    you have done great job

  • @meettoraju
    @meettoraju 5 лет назад

    very useful sir

  • @muhammadarqam8781
    @muhammadarqam8781 6 лет назад

    How we restrict the user to do not upload the image??

  • @bilalamar9878
    @bilalamar9878 11 лет назад +1

    it is nice, but can you show me how to upload and download file from serve which are about 2GB in size

  • @luis1_3711
    @luis1_3711 5 лет назад

    que buena explicación

  • @vishnuvardhanreddy6644
    @vishnuvardhanreddy6644 9 лет назад

    hi sir tell me one example how to call stored procedure to function?

  • @OluchiWellnessHacks
    @OluchiWellnessHacks 7 лет назад

    Thanks, Thanks, Thanks.

  • @Lhsbysareena
    @Lhsbysareena 2 года назад

    I want display this from the path stored in table

  • @chidambaram.p8877
    @chidambaram.p8877 11 лет назад +1

    THANK U SO MUCH SIR.....could u text me how to store this file into database?

  • @camilorojas7447
    @camilorojas7447 11 лет назад

    thanks a lot :)

  • @doabahighlights1659
    @doabahighlights1659 4 года назад

    thank u so much sir

  • @alishaker98
    @alishaker98 5 лет назад

    Thank you

  • @fatihemre505ify
    @fatihemre505ify 4 года назад

    thanks :)

  • @rushivanjare97
    @rushivanjare97 Год назад

    Sir your videos is very nice. Sir you give thes code only uploading pleas give code to view these uploaded file s sidely button as you seein any Recruitment form. Like Browse photo, file and uploaded it after uploading there are side view button when user click view button he can view uploaded file. So give code like these pl plz please sir give code to view file uploading not in grid view control but simple

  • @bhargavib5383
    @bhargavib5383 5 лет назад

    Can you make a video of saving uploading file in a folder(C drive) using angular.

  • @maulikbaraiya4933
    @maulikbaraiya4933 5 лет назад

    sir plz reply to your fans n loved ones.........

  • @amangupta1857
    @amangupta1857 6 лет назад

    how to transfer file one folder to anather folder using asp.net pllzzz upload a video of it ...

  • @advance4u147
    @advance4u147 4 года назад

    if you have all ready any example plse send lnk

  • @sagadsalem
    @sagadsalem 8 лет назад

    can i get the godes of the session

  • @wissamfawzy6543
    @wissamfawzy6543 6 месяцев назад

    Nice

  • @educationpointkpk9035
    @educationpointkpk9035 7 лет назад

    how to upload a file in asp.net MVC

  • @GlamorousPrincess-2530
    @GlamorousPrincess-2530 6 лет назад

    how to upload file without using FileUpload control, please ulpoad video

  • @advance4u147
    @advance4u147 4 года назад

    thanks

  • @kidoo1567
    @kidoo1567 2 года назад

    Heart wish from Stalin fan

  • @ganibss
    @ganibss 12 лет назад

    so thanks

  • @chittaranjanmoolya3747
    @chittaranjanmoolya3747 9 лет назад +1

    pleaseuse filter for file dialog box

  • @reykr1846
    @reykr1846 8 лет назад

    sir, please upload DataList control.

  • @ITSchoolOnline
    @ITSchoolOnline 4 года назад

    Learn more here