I Still can not run a SQL Stored Procedure from ASP Web Matrix

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

Jeff Thur

Can anybody Please demonstrate how to run a stored
procedure from ASP Web Matrix.

I can not believe all the answers that people have given
me that are not working. Does anybody use stored
procedures anymore. It can't be that difficult.

For One, When I place the line "Imports
System.Data.SqlClient" at the top of the code page, I get
an error stating that this line must precede any
declarations. (This is the first line in the code
section, how can this be possible?)

Thanks for your HELP.

Jeff....................
 
Jeff,

Have you tried NOT using the imports statement and addressing everything
with the full namespace?

I presume that, if you need to, that a reference to System.Data.dll is made
in your project.

Regards,
Gary Varga

I am not an MS employee of an MVP - they appear to all be on holiday at the
moment - hopefully the usual high standard of service will resume shortly ;-)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top