Posted on: 12/18/2015 9:04:36 AM | Views : 1132

Hai Friends
                    I am developing website in asp.net and database in oracle
                   I have one page and i want to use FILEUPLOAD CONTROL on there 
                   I want to upload a .pdf file and save it in ORACLE DATABASE
                 I have a code but it was not working
                 
string filename = Path.GetFileName(FileUpload1.PostedFile.FileName); Stream str = FileUpload1.PostedFile.InputStream; BinaryReader br = new BinaryReader(str); Byte[] size = br.ReadBytes((int)str.Length); using (OracleConnection conn = new OracleConnection(varglobal.Connection)) { using (OracleComm ...

Go to the complete details ...