I
iggy22
Hi all,
I'm creating a web-enabled form using infopath 2007 and I need to
populate a drop-down programatically. Here's what I've done so far:
created a drop-down and pointed it's datasource to a repeating field.
What I need to know is how can I add things to the repeating field via
code and also how can I clear all of the items from the repeating
field. By "clear" I don't mean to just set all the values to an empty
string but actually delete the child nodes of the repeating field (to
be able to repopulate it again). A code example of how this can be
accomplished to be great (C# or VB.net). Thanks.
-Igor
I'm creating a web-enabled form using infopath 2007 and I need to
populate a drop-down programatically. Here's what I've done so far:
created a drop-down and pointed it's datasource to a repeating field.
What I need to know is how can I add things to the repeating field via
code and also how can I clear all of the items from the repeating
field. By "clear" I don't mean to just set all the values to an empty
string but actually delete the child nodes of the repeating field (to
be able to repopulate it again). A code example of how this can be
accomplished to be great (C# or VB.net). Thanks.
-Igor