Dear Friends
I have insert image into SQL server using following code:
CREATE TABLE Employees
(
Id int,
Name varchar(50) not null,
Photo varbinary(max) not null
)
INSERT INTO Employees (Id, Name, Photo)
SELECT 10, 'John', BulkColumn
FROM Openrowset( Bulk 'D:\logo.bmp', Single_Blob) as EmployeePicture
Now i want to show it in picture box in C# GUI . Please help me to fatch image from SQL to GUI . The main purose of this code is that i want when i update new image in SQL then it should be changed in GUI because its link from SQl.
Thanks in advance.