IT Log

Record various IT issues and difficulties.

Tag: SqlConnection


  • How to Convert VB.NET Read Data from MSSQL Database Image Column to Binary

    To convert VB.NET read data from an MSSQL database image column to binary, follow these steps: Establish a Database Connection: Use SqlConnection with the appropriate connection string. Execute Query: Write a SQL query to fetch the image data from the specified column. Retrieve Binary Data: Utilize SqlDataReader.GetBytes() for small images. For large images, use streams…