I have a table with image field that I need to bind to System.W开发者_如何学Goindows.Forms.PictureBox, and I need to Load new images o Overwrite existing images or delete the image int the field with ADO.NET dataset object.
I wrote this code in the Form_Load Event :
Me.picCaptured.DataBindings.Add("Image", mbsPrimario, "PICFIELD", True, _
Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)
and Work Ok.
精彩评论