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.

If you liked this article you might like

Spain to Play Netherlands for World Cup

Spain to Play Netherlands for World Cup

Wal-Mart: Analysts' Upgrades, Downgrades

Wal-Mart: Analysts' Upgrades, Downgrades

Netherlands Advances to World Cup Final

Netherlands Advances to World Cup Final

Apple: Analysts' Upgrades, Downgrades

Apple: Analysts' Upgrades, Downgrades

World Markets Mostly Lower Monday

World Markets Mostly Lower Monday