
Signature
Thanks,
LiuFeng
MSN Messenger: blindlf@hotmail.com
Hi,
If your 3 fields are: field1, field2 and field3, and that your button is
btnTest then use:
[InfoPathEventHandler(MatchPath="btnTest",
EventType=InfoPathEventType.OnClick)]
public void btnTest_OnClick(DocActionEvent e)
{
IXMLDOMNode oField1 = e.Source.selectSingleNode("my:field1");
IXMLDOMNode oField2 = e.Source.selectSingleNode("my:field2");
IXMLDOMNode oField3 = e.Source.selectSingleNode("my:field3");
}
Regards,
Franck Dauché
> Hi,
> I have a repeating table, 1 button and 3 fields in one row,
> I write down code for click button, and want to fetch the values of the 3
> fields.
> How do i?
Liu Feng - 01 Nov 2005 04:07 GMT
Hi, Franck Dauch¨¦
Thank you!

Signature
Thanks,
LiuFeng
MSN Messenger: blindlf@hotmail.com
Hi,
If your 3 fields are: field1, field2 and field3, and that your button is
btnTest then use:
[InfoPathEventHandler(MatchPath="btnTest",
EventType=InfoPathEventType.OnClick)]
public void btnTest_OnClick(DocActionEvent e)
{
IXMLDOMNode oField1 = e.Source.selectSingleNode("my:field1");
IXMLDOMNode oField2 = e.Source.selectSingleNode("my:field2");
IXMLDOMNode oField3 = e.Source.selectSingleNode("my:field3");
}
Regards,
Franck Dauch¨¦
"Liu Feng" wrote:
> Hi,
> I have a repeating table, 1 button and 3 fields in one row,
> I write down code for click button, and want to fetch the values of the 3
> fields.
> How do i?