Solved

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

Posted on 2009-07-14
2
1,055 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
jQuery Generalization 3 63
Citrix sharefile 1 54
SharePoint integration. 1 45
How to setup workflow manager to work with Sharepoint server? 2 40
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…
I used to be SharePoint evangelist in our company, so my Outlook always full of questions about how to do this, or where I can find that. One day I found such an email with the following question: "how to attach 3-State workflow (one of the workflow…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

910 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now