Well, i know how to access within my 'CodeBehind' to the MainDataSources of the InfoPath Formular...
MainDataSource. xyz ...
But how to access the SecondaryDataSources ?
SecondaryDataSource as Class or Object doesnt exist.
And if i am already bother you with my question, i would be pleased if someone could explain to me how to create a SecondaryDataSource with CodeBehind. For example, you push a Button and a XML File will be connected which will perform as DataSource. The Fields wont change, only the Data itself.