string filename = TextBox1.Text; if (File.Exists(Server.MapPath("files/" + (filename)))) { Response.Write("file exist"); ListBox1.Items.Add(filename); } else { Response.Write("no"); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)