avi avi - 11 months ago 40
SQL Question

How to retrieve Binary data from function using vb.net

How to retrieve binary data i am calling the function to show data and has to insert values in to sql using vb.


There's no need to use XML handling since the returned data is not XML. Try:

 Dim result As EMC.TradeSummary.ReportDetail = TradeSummary.tradeSummaryReports(reqreportBean)

        Dim STLId As String = result.STLid
        Dim SettlementDate As String = detail.SettlementDate
        Dim BinaryData As Byte() = detail.BinaryData