I am developing a web application using asp.net C#. I neet to extract mobile numbers and emailId's from pdf or Excel or text or image file in asp.net.
Hi mdaman99,
Refer the below links.
For PDF :
For Excel :
For TextFile :
using (StreamReader stRead = new StreamReader(Server.MapPath("~/Files/TextFile.txt"))) { while (!stRead.EndOfStream) { Label1.Text += stRead.ReadLine() + "<br />"; } }
© COPYRIGHT 2024 ASPSnippets.com ALL RIGHTS RESERVED.