CDW Corp. ( CDWC) had a record second quarter, as it gained market share, thanks to sales of notebook and desktop computers. The Illinois-based computer products company Tuesday reported that net income rose by more than a third to $58.3 million, or 67 cents a share, from $43.6 million, or 51 cents a share, a year ago. Revenue jumped 29% to $1.38 billion. Analysts were expecting net income of $56.9 million, or 66 cents a share, on revenue of $1.41 billion. Gross profit margin was 15.5% compared to 14.6% in the year-ago period, primarily because of improved product pricing, vendor rebates and increased cooperative advertising. "Our outlook for the IT spending environment continues to be optimistic," the company said in a statement. "We believe that as a 'mutual fund of technology companies,' we remain well positioned to outpace the market." Shares closed at $58.61 Monday.