M
mbussa
I'm using IP2k3 SP1 and am writing custom C# submit code. I have
created a Submit Data Connection that submits via e-mail called "Email
Approved" and would like to call this from within Managed Code.
I have tried the following C# statements:
DAVAdapter submit = (DAVAdapter) thisXDocument.DataAdapters["Email
Approved"];
submit.Submit();
This compiles in VS2k3 but when running the form in IP, I get the
following error:
System.InvalidCastException
Specified cast is not valid.
Can anyone tell me why it can't cast to a DAVAdapter and how I could
get around this or am I even using this correctly?
Thanks, in advance, for your help!
created a Submit Data Connection that submits via e-mail called "Email
Approved" and would like to call this from within Managed Code.
I have tried the following C# statements:
DAVAdapter submit = (DAVAdapter) thisXDocument.DataAdapters["Email
Approved"];
submit.Submit();
This compiles in VS2k3 but when running the form in IP, I get the
following error:
System.InvalidCastException
Specified cast is not valid.
Can anyone tell me why it can't cast to a DAVAdapter and how I could
get around this or am I even using this correctly?
Thanks, in advance, for your help!