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
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!!.
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.
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 :)
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.
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.
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.
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"
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.
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!
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.
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.
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?
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???
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?
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 ?
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.?
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.
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.
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
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,,,..?
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.
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.
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?
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?
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:
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.
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.
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
VARY USE FULL THIS VIDEO THANKS SIR.
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
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!!.
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.
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 :)
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.
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.
Your demonstration's very clear and goes directly to the point! Well done!
you are amazing literally my prof. spent 30+ mins explaining this and I was lost
I love you sir for your time and for your wanderful videos. Love you lot sir 💓
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.
Very very important this seccion!! Thanks for you video!!!
Thanks you so much for all your tutorials, you're the best ;)
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.
Thank you so much...... very usefull video.....keep doing this 👏👏
Simply, Superb..
Thanks venkat for such an excelent vedeo tutorial
Thanks Man for this very useful video.
HELP why your Fileupload control gives you the complete PATH C:\Test Analyst.doc and my control only gives me Test Analyst.doc
Thank you very much. It's a very clear explanation.
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"
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.
Just what I wanted, thank you very much.
sir you are a true teacher
Hi Aniruddha, absolutely. There is no reason why we can't do it.
Mr. Venkat, why do you prefer using nested ifs and not else if construction in this case?
Excellent explanation. Thank you.
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!
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.
cool
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.
your demonstration is clear, thanks :)
Your are really Great!! Thanks alot for sharing your knowledge!:D
Thank u so much by all your videos
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?
Useful stuff! Thanks! :D
Absolute amazing
Great presentation. Thank You!
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???
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?
thank you so much sir.... i am very much pleased with your answer
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 ?
You are the best
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.?
Very useful!!!
Is there any way to make 'text box part' of the upload control longer?
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.
sir ,in one dropdown in which checkbox/checkbox list option ,ckecked value save in sql,plse example
very very useful video thanks a lot sir
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?
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.
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
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,,,..?
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
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.
My Friend your R Awesome
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
I do not get FileUploadl feature in my visual studio
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.
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?
thank you very much, I subscribed
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?
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
I have the same problem.
I tried this but it brings the same error(maximum request length exceeded).
What can me and Babken do?
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:
Is there any video tutorial to show preview of pdf/jpg file in a modal c#?
Thanks for this video.
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.
everything is working just i want to know how to upload a file which are in Gbs...reply soon and thanks for the help
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.
well explained sir thank you
How to view the uploaded from the user side ( Client side ) after uploading it
Can you tell me how to upload same file in shared network folder ?
Thank you, Sir!!!!!!!!
Can't find FileUpload, please can you show me how to upload file in visual studio 2013 by making a video of it. Thanks
how to save uploadded file url in database table and file save in folder ?
plz help me sir
its amazing...
My debug option r always disable after that when I debug first time pls help me out how to enable debug for continue????
how can i Upload a file which is More than 100Mb using this File Upload Control....?
great sir
you have done great job
very useful sir
How we restrict the user to do not upload the image??
it is nice, but can you show me how to upload and download file from serve which are about 2GB in size
que buena explicación
hi sir tell me one example how to call stored procedure to function?
Thanks, Thanks, Thanks.
I want display this from the path stored in table
THANK U SO MUCH SIR.....could u text me how to store this file into database?
thanks a lot :)
thank u so much sir
Thank you
thanks :)
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
Can you make a video of saving uploading file in a folder(C drive) using angular.
Hi... Did you got code for this.?
sir plz reply to your fans n loved ones.........
how to transfer file one folder to anather folder using asp.net pllzzz upload a video of it ...
if you have all ready any example plse send lnk
can i get the godes of the session
Nice
how to upload a file in asp.net MVC
how to upload file without using FileUpload control, please ulpoad video
thanks
Heart wish from Stalin fan
so thanks
pleaseuse filter for file dialog box
sir, please upload DataList control.
Learn more here