Hi,
how do I get the selecetd value of a dropdown list? This
string id = thisXDocument.DOM.selectSingleNode("/my:training_administration/my:courses/my:course/my:id").text;
only returns this error:
System.NullReferenceException
Object reference not set to an instance of an object.
at WBTAnmeldung.WBTAnmeldung.btnViewDetails_OnClick(DocActionEvent e) in d:\vs2003\projects\wbtanmeldung\formcode.cs:line 39
at Microsoft.Office.Interop.InfoPath.SemiTrust._ButtonEventSink_SinkHelper.OnClick(DocActionEvent pEvent)
Any hints?
Thanks in advance.
Regards,
Buki