Display SQL View In Webform?

G

Guest

Have you tried it? Should be no different than selecting from the tables
directly--your web form doesn't know the difference.

Bill
 
L

Leon

can you passmeters to views like with tables and stored procedures
example:
CREATE PROCEDURE GetSchoolByState
(
@StateID char(2)
)
AS
SELECT SchoolID,SchoolName FROM School WHERE StateID = @StateID ORDER BY
SchoolName ASC
GO
 
G

Guest

Yes, a view is virtually no different--e.g. Select * From MyView Where
CustID=@CustID, etc. You need to play around with it, and/or find a good
reference (start with the SQL docs). Enjoy.
 

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

Members online

No members online now.

Forum statistics

Threads
474,430
Messages
2,571,676
Members
48,796
Latest member
Greg L.

Latest Threads

Top