المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : DataSourceUpdateMode



C# Programming
03-13-2010, 04:00 PM
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?