Check out example codes for "c# fileupload example". It will help you in understanding the concepts better.
Code Example 1
String savePath = @"c:\temp\uploads\";
if (FileUpload1.HasFile) {
String fileName = FileUpload1.FileName;
savePath += fileName;
FileUpload1.SaveAs(savePath);
}
Learn ReactJs, React Native from akashmittal.com