string cont_name = ""; cont_name = doctorfileupload.FileName; string path = Server.MapPath("emp images/"); doctorfileupload.SaveAs(path + cont_name); string FullPath = "emp images/" + cont_name;
<pre lang="cs">string readContents; using (StreamReader streamReader = new StreamReader(path, Encoding.UTF8)) { readContents = streamReader.ReadToEnd(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)