some tweaks to DatasheetControl.cs