|
-
Jan 3rd, 2012, 01:36 AM
#1
Thread Starter
Member
Picture Load from Datagrid
Good Day,
Please help me with my project,
Example:
I have datagrid with field "Picture", and i have also picturebox "Picture1".
If im going to click my datagrid field "Picture", the picture must be
loaded to my picturebox "Picture1".
Im trying this code:
.Picture1.Picture = DataGrid1.Columns("Picture")
But i receive error "type mismatch".
Please help me...
Thank you.
-
Jan 4th, 2012, 12:18 AM
#2
Lively Member
Re: Picture Load from Datagrid
Hi, is Datagrid1.Columns("Picture") contain the path of a picture file?
if so then you can use
Code:
Picture1.Picture = Loadpicture(Datagrid1.Columns("Picture"))
Hope it help
Dont forget to rate post that you think useful and close the thread or mark it as [RESOLVED]
-
Sep 21st, 2018, 09:59 AM
#3
New Member
Re: Picture Load from Datagrid
It's Working.
Thanks for this code.
-
Sep 21st, 2018, 09:59 AM
#4
New Member
Re: Picture Load from Datagrid
It's Working.
Thanks for this code.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|