Infopath File attachment control Programmatically
C#
1
Posts
1
Posters
0
Views
1
Watching
-
HI I am working on Infopath File attachment control Programmatically , I am reading a image file from my database table , converting to base64string , and then returning to attachment field in my Infopath Form . the problem is that when I open the attachment , it is opening in binary or some other format , and not in standard readable format , filedata.Getfilename obj2 = new filedata.Getfilename(); IXMLDOMNode nodefld1 =thisXDocument.DOM.selectSingleNode("my:myFields/my:field3"); nodefld1.text = obj2.ReadfileInfo(); where obj2 is a object of a web service , which return a string of base64 and field3 is a file attachment . what I need to do , thanks thanks