Posted on: 7/11/2014 4:37:43 PM | Views : 397

hello
i have a folder named dictionary in my project and in that folder there are certain binary (.bin) files. i am trying to read the file and copy the data into a string.
but when i execute the file there is an exception raised that the path could not be found. the code i am using is: 
FileStream fs1 = null; BinaryReader br = null; fs1 = new FileStream("~/Dictionary_Files/WordList_Len2.bin", FileMode.Open); br = new BinaryReader(fs1); string str1; str1 = br.ReadString(); Response.Write(str1); what changes should be made??
Thanx

Go to the complete details ...