Click here to Skip to main content
15,908,842 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i have converted image in windows Form

C#
@"data:image/gif;base64," + Convert.ToBase64String(File.ReadAllBytes(Path));


but how to display image in Picture box
Posted

1 solution

You could try
C#
pictureBox.Image = new Bitmap(Path);

Hope this helps,
Fredrik
 
Share this answer
 
Comments
Member-515487 8-Aug-13 9:31am    
not working

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900