Is it possible to have a c# file act as a code behind file for an infopath form? Just like you do for forms in aspx. Especially I would like to be able to execute code on page_load for an infopath form and pre populate or modify the fields.
Is this possible?