Hi Guy I seen your code in above. i seen may be ur combobox haven't a selected value may be pass null value, so error will raise. and second may be comboBox haven't records. so verify both condition after get comboBox1.SelectedItem. when directly to use comboBox value we must do validations.that's give error free to us. thanks
Cheers RRave MCTS,MCPD