c# - SQL - speed up code to DB

Posted by user228058 on Stack Overflow See other posts from Stack Overflow or by user228058
Published on 2010-05-03T17:52:19Z Indexed on 2010/05/03 17:58 UTC
Read the original article Hit count: 298

Filed under:
|
|

I have a page with 26 sections - one for each letter of the alphabet. I'm retrieving a list of manufacturers from the database, and for each one, creating a link - using a different field in the Database. So currently, I leave the connection open, then do a new SELECT by each letter, WHERE the Name LIKE that letter. It's very slow, though.

What's a better way to do this?

TIA

© Stack Overflow or respective owner

Related posts about sql

Related posts about CSharp