Quote Originally Posted by maikeru-sama
Do you know if that is considered the best way? I want my database access code in a separate place than the form code behind.

Pretty sure it's the best way... It's what I do in my VS 2005 web apps.

Yeah, I stand corrected on the declaration.. Harsh is right!