Solved

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

Posted on 2009-07-14
2
1,050 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
Comment Utility
0
 

Author Closing Comment

by:rakesh16d
Comment Utility
Thanks a lot for helping me.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Microsoft SharePoint Foundation 2010 and Microsoft SharePoint Server 2010 do not offer the option to configure the location of the SharePoint diagnostic trace log files during installation.  This can, however, be configured through Central Administr…
Pimping Sharepoint 2007 without Server-Side Code Part 1 One of my biggest frustrations with Sharepoint 2007 in the corporate world is that while good-intentioned managers lock down the more interesting capabilities of Sharepoint programming in…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

772 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

16 Experts available now in Live!

Get 1:1 Help Now