Popular Articles
Last viewed:
- Find a control in a TemplateField programmatically
- Configure Remote Access for SQL Server Express 2005
- Disable Button on Submit (Prevent multiple submits)
- Format a DateTime as a Facebook-style date with Months, Days, Hours, Minutes Ago
- File Download Manager
- C# Free Component to Generate PDF - Convert HTML to PDF
Recent comments
- jkll
13 hours 37 min ago - Thank You
1 day 13 hours ago - Another approach
3 days 14 hours ago - Issue
4 days 3 hours ago - thanks
4 days 14 hours ago - Calendar date time
4 days 20 hours ago - Nice Explanation
5 days 20 min ago - ramya
1 week 21 hours ago - thank a lot
1 week 1 day ago - Very useful, but...
1 week 4 days ago

Open your connection
I find it funny when I hear people saying "that's the way it works so it's normal".
For your connection reset, open your DataContext connection before working with it and close it at the end. That gives a good extra performance boost.
db.Connection.Open()
db.Connection.Close()
I ran the profiler and -- no more connection reset!!