By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,454 Members | 3,133 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,454 IT Pros & Developers. It's quick & easy.

Updating image to datarow

P: n/a
I have designed a user interface with controls bound to data using Data
Source Window. Draging and dropped customer table from Data Source Window
created various navigation controls and a DataGridView control. I am storing
cusotmer information along with their image in customer table. I have a
separate form for editing new customer information and inline editing to
datagrid is not required. For this purpose I am passing selected row
(DataRow) in the grid to the editing form and binding controls on editing
form to the DataRow as follows

this.firstnameTextBox.DataBindings.Add("Text", _artistRow, "Firstname",

this.middlenameTextBox.DataBindings.Add("Text", _artistRow, "Middlename",

this.picturePictureBox.DataBindings.Add("Image", _artistRow, "Picture",

The text changes I am making on the form are getting upated to the grid
(underlying datarow) and the database, the image is not. The image get
displayed from datagrid but when I change it on the form it doesn’t get
updated to the grid (underlying datarow) or the database. What is happeing
here? Please help

Dec 3 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.