Correction, the SelectedValue initially contains a DataRowView instead of DataRow. Before the form actually shown on the screen, the SelectedIndexChanged event fired 3 times, the first 2 times SelectedValue contains DataRowView but the last time it contains integer.
Stephen Lee
--------------------------------
Too much to code
Too little time
--------------------------------