J
Jim
hi
I have a SqlCeResultset (sql mobile) that is updateable. i want to have
simple databinding for several text boxes. i use a method by Paul Yao where
i bind a combobox control to the resultset. i then bind a text box to the
combobox as shown below in Pauls example.
// cboxTasks.DataSource = rsResultSet;
// cboxTasks.DisplayMember = "Name";
// cboxTasks.ValueMember = "Ident";
// txtbox1.DataBindings.Add("Text", cboxTasks.DataSource, "Name");
This works but any changes to the textbox text do not stick. If i move
off the record and back the old data is still there. If i look at the result
set it does appear as updateable.
Any ideas why this will not work with a SqlCeResultset?
I have a SqlCeResultset (sql mobile) that is updateable. i want to have
simple databinding for several text boxes. i use a method by Paul Yao where
i bind a combobox control to the resultset. i then bind a text box to the
combobox as shown below in Pauls example.
// cboxTasks.DataSource = rsResultSet;
// cboxTasks.DisplayMember = "Name";
// cboxTasks.ValueMember = "Ident";
// txtbox1.DataBindings.Add("Text", cboxTasks.DataSource, "Name");
This works but any changes to the textbox text do not stick. If i move
off the record and back the old data is still there. If i look at the result
set it does appear as updateable.
Any ideas why this will not work with a SqlCeResultset?