M
Micronext de Mexico, S.A. de C.V.
Hi:
I´m trying to develop a form template on Infopath 2007, but i need to add
several items to a combo box by custom code on visual studio 2005 with c#. I
only can set one value with this code:
string xpath = "/my:myFields/my:field2";
XPathNavigator field2 =
MainDataSource.CreateNavigator().SelectSingleNode(xpath, NamespaceManager);
field2.SetValue("HOLA");
Where field2 is a combo box.
I´m trying to develop a form template on Infopath 2007, but i need to add
several items to a combo box by custom code on visual studio 2005 with c#. I
only can set one value with this code:
string xpath = "/my:myFields/my:field2";
XPathNavigator field2 =
MainDataSource.CreateNavigator().SelectSingleNode(xpath, NamespaceManager);
field2.SetValue("HOLA");
Where field2 is a combo box.