Click here to Skip to main content
15,894,343 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

Project Type - Windows application
Version - Visual Studio 2010
BackEnd - MS - Access 2003
Language - VB.NET/ C#.NET
Issue in Control - Data repeater (Visual Basic Power Pack)

Issue -

I am creating a data repeater control that shows some data and a image.
I want to set the data source of repeater and other controls under Data
repeater control by code.
I have successfully done that work except the image.
How to bind the PictureBox control for data repeater control since the data
is in byte formate in database.

Thanks and Regards
Raghubir Sarkar
Posted
Comments
[no name] 22-Aug-13 9:34am    
using (MemoryStream ms = new MemoryStream(yourByteArray))
image = Image.FromStream(ms);
fjdiewornncalwe 22-Aug-13 9:46am    
+5.
Raghubir_Sarkar 23-Aug-13 1:08am    
Sir i am using the picturebox into datarepeater control,
for that i must have to set its databinding property,
I have do it for other controls but not for picturebox.
Do you have any idea about how to set databinding of picturebox?
Raghubir_Sarkar 23-Aug-13 1:09am    
I have tried that its not working while i am using the picturebox inside the
datarepeater control.

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