Hello Sir,
How to file upload without file upload control in C# i am Very Confuse
please help
Hi,
You must check existance of file like below
C#
string filePath = @"D:\Idar.pdf"; byte[] fileData = new byte[] { }; if (File.Exists(filePath)) { fileData = File.ReadAllBytes(filePath); }
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.