Govind
Govind

Reputation: 544

How to get Controls in infopath forms programming

I have do some customizations in the infopath forms , so i have choose edit form the code option when a button clicked...I would like to know how can we get the control ids in the code.please let me know how to start with the programing in infopath.

Upvotes: 1

Views: 1826

Answers (1)

Bob
Bob

Reputation: 79

Eg: string fieldValue = MainDataSource.CreateNavigator().SelectSingleNode( "/my:myFields/my:field1", NamespaceManager).Value;

Upvotes: 1

Related Questions