B
bparr
All,
I am using Windows Forms and have multiple XML datasets feeding various
controls. Here is the situation.
I have a master dataset that saves a document to the drive. Out of 50
fields in the XML document, there are 5 that have defaults loaded from
a different XML dataset when the new form is created.
In pseudocode
If New
Fee Dataset = openxml Fees.xml
txtFee1.text = Fee Dataset (Fee1)
Else
Document Dataset = openxml Document.xml
txtFee1.text = Document dataset (Fee1)
End If
The data is bound properly from the master dataset when I open an
document but won't load default data from the fee.xml file when a new
document is created.
I am assuming if I am creating a new document, I need to drop the
databinding for those fields from the document, and assign it to the
fee xml file, then switch it back. This is apparently wrong or I am
doing it wrong.
Any and all help is greatly appreciated
Thanks,
jaxmeier
I am using Windows Forms and have multiple XML datasets feeding various
controls. Here is the situation.
I have a master dataset that saves a document to the drive. Out of 50
fields in the XML document, there are 5 that have defaults loaded from
a different XML dataset when the new form is created.
In pseudocode
If New
Fee Dataset = openxml Fees.xml
txtFee1.text = Fee Dataset (Fee1)
Else
Document Dataset = openxml Document.xml
txtFee1.text = Document dataset (Fee1)
End If
The data is bound properly from the master dataset when I open an
document but won't load default data from the fee.xml file when a new
document is created.
I am assuming if I am creating a new document, I need to drop the
databinding for those fields from the document, and assign it to the
fee xml file, then switch it back. This is apparently wrong or I am
doing it wrong.
Any and all help is greatly appreciated
Thanks,
jaxmeier