i want in the aspxvb to do :
when i first put this code in the aspx page and did there the import to :
Dim myConnection As New SqlConnection("Provider=SQLOLEDB.1;UID=user;PWD=34234234;Initial Catalog=registration;Data Source=localhost;")
nut when i moved it to the VB page it seems not to work!
<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="System.Data.SqlClient" %>
even when i removed the tags still isnt working!
why is that?
what i wanted to do is to seperate the code from the tags
but it isnt working why?
thnaks in advance