In my case , I want store image to database(postgresql) using storeprocedure. my database is in server. I am converting the image into byte array in front end. Now i need to know How to pass the converted byte array to the store procedure.
I am using the following code right now,
Dim xImgPath() As Byte = ConverttoByte(mPath)
Dim xQry As String = "select public.fn_employee(row(" & id &,"," & xImgPath &"))::public.employee
but the above piece of code is not working,It is simply displaying compile time error in the front end, can anybody tell me how to pass a byte array into the storeprocedure in postgresql?