Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个带有图像字段的表,我需要绑定到 System.Windows.Forms.PictureBox,并且我需要加载新图像 o 覆盖现有图像或删除带有 ADO.NET 数据集对象的字段中的图像。
我在 Form_Load 事件中编写了这段代码:
Me.picCaptured.DataBindings.Add("Image", mbsPrimario, "PICFIELD", True, _ Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)
和工作正常。