Sir,
I have used StreamReader method to read text file that contain the text and has to be displayed. The file has been placed on same location as I have been defined in code. But it still giving me File Not Found Exception.
Why ?
Dim usr As String = ""
usr = Session("usertype")
Select Case usr
Case "D"
Using r As StreamReader = New StreamReader("aad.txt")
d = r.ReadToEnd
r.Close()
End Using
End Select