Marie565656
New Member
<BR>Compiler Error Message: BC30002: Type is not defined: 'SQLDataReader'<BR><BR>Source Error:<BR><BR>Line 5: Dim sqlText as String = "select * from creation"<BR>Line 6: Dim cnString as string = "server=server;uid=sa;pwd=1;database=northwind;"<BR>Line 7: Dim dbRead AS SQLDataReader<BR>Line 8: Dim sqlCmd AS SQLCommand<BR>Line 9: <BR> <BR>you probably need to reference the namespace, "System.Data.SqlClient"