Rowstate.modified

  • Thread starter Thread starter Matthew
  • Start date Start date
M

Matthew

Ok, i will try this again.

i have a form that has a dataset. on this form is
textboxes bound to specific fields.

if i issue this code and only this code. something that i
find odd, but maybe normal happens.

FormName.BindingContext(DataSetName, DataMember).Position
+= 1

it seems that this makes the records rowstate = modified.
i didnt change anything in the form. whats odd is if i
check the rowstate before this code it says unchanged,
and when i check it after this code. it says modified.

why does just moving 1 record, or row, set the rowstate
to modified. whats even more weird is actually typing
text in the boxes, does not make the status change to
modified. only a position change does.

any ideas?
 
would the endedit or endcurrentedit methods have anything
to do with it? am i suppose to begin and end edits.. i
thought this was done automatically as soon as you
started typing..

just a thought..sigh..
 
Back
Top