G
Guest
I've created a custom control that inherits from TextBox. Everything has worked fine up to now. I bind a typed DataSet to my control and when I fill the DataSet, the appropriate record is loaded. I call BeginEdit on the row. Then I change the data in my app, and call EndEdit for the row. But when I look at the DataRow in the debugger, the data is the original data, not the changed data. If I use the default TextBox instead of my own, the new data is put in the DataRow when I call EndEdit and the database updates correctly. HasChanges knows that something has changed. There is a current row and an original row in the DataSet. I'm obviously missing something in my custom control but I can't figure out what. Does anybody have a clue?