473,394 Members | 1,750 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Display SQL View In Webform?

Is it possible to display a sql view from my ms sql 2000 database in my
webform?
Nov 18 '05 #1
3 1022
Have you tried it? Should be no different than selecting from the tables
directly--your web form doesn't know the difference.

Bill

"Leon" wrote:
Is it possible to display a sql view from my ms sql 2000 database in my
webform?

Nov 18 '05 #2
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

"Bill Borg" <Bi******@discussions.microsoft.com> wrote in message
news:8C**********************************@microsof t.com...
Have you tried it? Should be no different than selecting from the tables
directly--your web form doesn't know the difference.

Bill

"Leon" wrote:
Is it possible to display a sql view from my ms sql 2000 database in my
webform?

Nov 18 '05 #3
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.

"Leon" wrote:
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

"Bill Borg" <Bi******@discussions.microsoft.com> wrote in message
news:8C**********************************@microsof t.com...
Have you tried it? Should be no different than selecting from the tables
directly--your web form doesn't know the difference.

Bill

"Leon" wrote:
Is it possible to display a sql view from my ms sql 2000 database in my
webform?


Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Zingam | last post by:
Is it possible to insert a WinForm in a WebForm? I'd like for example to insert a managed directx viewer in a webform, that would display 3d graphics on the form? Is this possible? Regards,...
2
by: Alessandro Rossi | last post by:
Hi, I made a usercontrol with 2 TextBoxes and 2 labels. When i place the usercontrol in a webform, i see the grey rectangle, and i can place the usercontrol only on the top of the form. I found...
1
by: NH | last post by:
Hi, I'm struggling to display an image on asp.net webform (vb.net). The image is stored in a image field in a sql server database. I have read a good few solutions to it and still havnt got it...
13
by: Jeff Molby | last post by:
I'm quite experienced with ASP.Net, so I know the language pretty well, but this is my first significant windows app in VB.Net, so I haven't encountered many of the quirks yet. I'm using VB 2003. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.