Can I use ASP WEB MATRIX to run Stored Procedures from SQL Server 2000

  • Thread starter Thread starter Jeff Thur
  • Start date Start date
J

Jeff Thur

I am trying to run a stored procedure on SQL Server 2000
from ASP Web Matrix. When I insert the line at the top of
the code page, Imports Sql.Data.SqlClient I keep getting
the following message: "BC30465: 'Imports' statements
must precede any declarations." For the life of me, I
can't figure this out. Am I doing something wrong? Can
you run Sql 2000 stored procedures from ASP Web Matrix?
Please Help. Thanks................
 
Jeff, I don't know if ASP Web Matrix can run stored procedures but I can
answer your immediate problem.

The answer lies within the error message:

"'Imports' statements must precede any declarations."
 
Jeff,

This is the second message in this newsgoup about Web Matrix.

Can you explain to us what makes an application made with the Web Matrix so
special.
In my opinion is it just an aspx application made with that tool.

Did you see messages as "I use the NoteBook" to make an application or "I
use Visual.Studio Net" to make an application. I ask you this because I told
you this in a previous answer, where I gave you as well that answer where I
advised you to include an import, what from I see now that it helped with
your problem in this message.

What is your goal, showing something about the quality from the Web Matrix?

Cor
 
Back
Top