i'm trying to create my namespace having database code in a .vb
it is having insert method in that i'm writing my database code..
but in declaration i can't decalre sqlconn as sqlconnection just like in aspx file...even i've added references like system.data,system.data.sqlclient... or i've to use old vb
methods like sqlconn as adodb.connection something like that....?
Public Class Insert_data
Dim sqlconn As [u]sqlconnection</u>