Well, that didn't seem to work either.
Basically, my Database has the "Body" of the email in HTML format. I want the WebBrowser (or comparable component) to have it's source input bound to the Body Element of my dataTable. I tried:
Code:
Me.BodyBrowser.DataBindings.Add(New System.Windows.Forms.Binding("DocumentText", Me.bind_MailBox, "Body", True))
But that seemed to overwrite the data that was in my DataTable as opposed to setting the value in the Browsers.DocumentText property. Instead of "Reading" the data, it tried to "write" the data. Any Ideas?
(I really
don't want to have to listen to each time the user changes records and manually set the Browser.)
<edit>
I did just that though. When My Primary Binding Source Changes Position, I have to profligate through all the other binding sources and such so everything is on the same page. Instead of using the DataBindings as above, I put in the line:
Code:
BodyBrowser.DocumentText = bind_MailBox(bind_MailBox.Position)("Body")
And it works just fine. Any Ideas as to why that works and the DataBindings() method does not?
thanks