Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Infopath File attachment control Programmatically

Infopath File attachment control Programmatically

Scheduled Pinned Locked Moved C#
htmldatabasehelp
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    we_swati
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups