A realistic analytical central potential with two adjustable parameters is used to generate wavefunctions for the ground and excited states of doubly ionized boron. Generalized oscillator strengths and integrated cross sections from threshold up to 5 keY are calculated in the Born approximation for 2s-ns, 2s-np and 2s-nd excitations. Convenient analytic formulae for the cross sections are presented.