DataSourceUpdateMode
C#
2
Posts
2
Posters
0
Views
1
Watching
-
I use binding object to bind a textbox with my database field.here is my code
namTXT.DataBindings.Add("Text", tbl, "name",true,DataSourceUpdateMode.OnPropertyChanged);
when i edit textbox value, datarow state should change but it doesn't work.I mean tbl.getchanges() has null value. My textbox is already bounded. what is the problem of code?
-
I use binding object to bind a textbox with my database field.here is my code
namTXT.DataBindings.Add("Text", tbl, "name",true,DataSourceUpdateMode.OnPropertyChanged);
when i edit textbox value, datarow state should change but it doesn't work.I mean tbl.getchanges() has null value. My textbox is already bounded. what is the problem of code?