Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1121
  • 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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