hi am kinda of new in programming and am building my first website but am encountering some problems .
first my connection statement i connected like this :
it ask for declearation of conn which i decleared as thus:
but conn cannot be accessed cos its a private dim
how do i make it accessible and what other codes do i need to add to both the form and the Vb to make my database accessible
first my connection statement i connected like this :
Code:
set conn=server.creatobject("sql.connection")
conn.open"my database".
Code:
system.imports.data.sqlclient public class my form (declearation expected) Dim conn as new sqlconnection Dim command as new data.sqlclient.sqlcommand End class
how do i make it accessible and what other codes do i need to add to both the form and the Vb to make my database accessible
Comment