Skip to Content
0
Former Member
Sep 27, 2013 at 04:26 AM

how to upload images in emp master using object get by key..

103 Views

hi..

have a look on below image u can get an idea what i need..

i want to upload one image into . emp master image...

how can i do it..

i tried below way .. but not working

and one more image i attached this is sql db ..

one image i uploaded ..from front end and other one is from coding...

Dim emp_info As SAPbobsCOM.EmployeesInfo

emp_info = ocompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oEmployeesInfo)

Dim EMP_ID As Integer = serverver0.SelectedValue

emp_info.GetByKey(EMP_ID)

emp_info.UserFields.Fields.Item("U_PortalUid").Value = txtuserid.Text

emp_info.UserFields.Fields.Item("U_PortalPwd").Value = txtpwd.Text

emp_info.Picture = "C:\Training\Logo.jpeg"

how can i solve this problem..

Attachments

sql image.JPG (91.8 kB)
image.JPG (127.8 kB)