471,357 Members | 1,205 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,357 software developers and data experts.

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

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................

Jul 21 '05 #1
2 2152
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 Thur" wrote:
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................

Jul 21 '05 #2
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
Jul 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by mike | last post: by
45 posts views Thread by John | last post: by
1 post views Thread by nickwilson.nick | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.