Hi,
I have an infopath with some checkboxes and fileattachments for infopaths and a button. I have to write code under button control in such a way that whenever a user selects a checkbox and clicks on button, the corresponding fileattachment should be submitted to sharepoint server document library. How to submit these infopaths to sharepoint server under submit button?