> Does anyone know the reason for that and some better workaround than
> showing the tab page at start up (like tabControl1.SelectedIndex = 1
?
Try this:
dtX = new DataTable("Test data");
dtX.Columns.Add("Name", typeof(string));
dtX.Columns.Add("Day", typeof(DateTime));
dtX.Rows.Add("Austria", new DateTime(2009, 3, 10));
dtX.Rows.Add("Germany", new DateTime(2006, 7, 15));
dtX.Rows.Add("Belarus", new DateTime(2005, 5, 31));
dtX.Rows.Add("Poland", new DateTime(1985, 10, 15));
bindingSource1.DataSource = dtX;
txtName.DataBindings.Add("Text", bindingSource1, "Name");
dateTimePicker1.DataBindings.Add("Text", bindingSource1, "Day");
Dawid Rutyna