Solved

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

Posted on 2009-07-14
2
1,062 Views
Last Modified: 2012-05-07
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
Comment
Question by:rakesh16d
2 Comments
 
LVL 11

Accepted Solution

by:
andrei_teodorescu earned 500 total points
ID: 24853787
0
 

Author Closing Comment

by:rakesh16d
ID: 31603372
Thanks a lot for helping me.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When installing SharePoint 2010 RTM I came across a strange error, I was getting timeouts during the installation. I searched the web and found the best solution to be found here (http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010genera…
In case you ever have to remove a faulty web part from a page , add the following to the end of the page url ?contents=1
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question