Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1105
  • Last Modified:

How to add the string array to dropdown list in Infopath form

Hi

Can you please tell me how to set a string array vale to a drop down list in Infopath form using code behind.
I am trying using "Getxpathnav" but it is not working.

pls help ASAP.
string[] abc = RequestTypeconn(currentuser);
            GetXPathNav("/my:myFields/my:requesttype").SetValue(abc);// it given an error here

Open in new window

0
rakesh16d
Asked:
rakesh16d
1 Solution
 
rakesh16dAuthor Commented:
Thanks a lot for helping me.
0

Featured Post

Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

Tackle projects and never again get stuck behind a technical roadblock.
Join Now