Author: aquinasadmirer | Posted on: 7/30/2009 8:15:09 AM | Views : 659

Hi,
I want to know how to add namespaces to a set of aspx.vb/aspx files.  But I don't know the proper way to do it.  I know I could have everything in one file, but I know that it's better practice to separate them.  Could anyone give me some guidance on how to make the "DataView" datatype available in my code?
Thanks in advance,
Mark



Below, I've added the "Import Namespace" settings to my aspx file:


<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Thing.aspx.vb" Inherits="Thing" %>
<%@Import Namespace="System.Drawing" %>
<%@Import Namespace="System.Data"%>
<%@Import Namespace="System.Data.SqlClient"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xht ...

Go to the complete details ...