Hello...
I am working in asp.net c# i want to browse and select any file from folder like i want to check .sql file available or not through c#?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Abhay ShankerPosted Nov 25, 2014, 4:06 AM
string fileExtention = System.IO.Path.GetExtension(FileUpload1.FileName);
if (fileExtention == ".sql") {}
Manish Kumar ChoudharyPosted Nov 25, 2014, 1:01 AM
Hi Davin Martyn,
Read these links, it will help you
http://www.codeproject.com/Articles/667306/Upload-an-Image-and-an-Audio-file-using-Csharp
http://www.aspnettutorials.com/tutorials/controls/use-fileupload-ctrl-asp4-cs/
Sibeesh VenuPosted Nov 25, 2014, 12:57 AM
http://www.c-sharpcorner.com/UploadFile/scottlysle/UploadwithCSharpWS05032007121259PM/UploadwithCSharpWS.aspx
http://asp.net-tutorials.com/controls/file-upload-control/