Answer : PROGRAMMING & PROBLEM SOLVING THROUGH ‘C’ LANGUAGE , January 2021 | NIELIT O Level
1: Multiple Choice
1.1 : A
1.2 : C
1.3 : A
1.4 : A
1.5 : B
1.6 : A
1.7 : C
1.8 : No option given (Because compile error in code )
1.9 : B
1.10 : C
In this post, you will learn, How to upload an image file to a server without using javascript or jquery. The file will be upload using C#. Unique File name is generated with datetime string , you implement your logic for the file name. Given code is applicable in both C# MVC and ASP.Net both.
using System.IO;