>>It's my understanding that it's better to put the code in the code behind page. Is that correct?
>
>I haven't been able to think of a reason why one would be any better than the other, especially if you used VS.NET.
Really? I thought the code-behind page helped you separate the VB code from the HTML, making it easier to read. Wasn't that a problem with classic ASP?
>>If I add System.Data.SqlClient to the Dim and New statements, everything works fine. Can someone tell my why I have to explicitly reference System.Data.SqlClient?
>
>You don't have any classes in your own Namespace named SqlConnection, do you? If you don't use the System.Data.SqlClient namespace, what does IntelliSense give you for members if the SqlConnection class?
Hmm, I am not sure. I have not intentionally defined my own Namespace, but that doesn't mean I didn't do it accidentally :-). Do you know where I would check?
Intellisense doesn't give me any parameters for SqlConnection, although it does for System.Data.SqlClient.SqlConnection. Weird. I wonder where it is getting the definition from.
Chris McCandless
Red Sky Software