Computing.Net > Forums > Programming > asp.net + sql views

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

asp.net + sql views

Reply to Message Icon

Name: fayyazf7
Date: April 17, 2005 at 22:43:00 Pacific
OS: win 2k server
Comment:

i am a newbie in asp.net, i need little assisstence that how can i use sql views in asp.net + views with parameter ,please tel me little sample. i am very gr8ful to u.



Sponsored Link
Ads by Google

Response Number 1
Name: Chi Happens
Date: April 18, 2005 at 06:42:50 Pacific
Reply:

you call them just like a normal query:

SELECT Field1 FROM View1 WHERE Field2=0

Chi

They mostly come at night...mostly


0

Response Number 2
Name: fayyazf7
Date: April 18, 2005 at 23:27:17 Pacific
Reply:

Thanks chi , plz one thing more .
how can i pass value like date from asp to sql views .
example: txt1= 18-04-05
views = select * from exp where dt=txt1.value

how can i pass txt1 to views ?

thanx


0

Response Number 3
Name: Chi Happens
Date: April 25, 2005 at 09:47:36 Pacific
Reply:

views = "select * from exp where dt='" & txt1.value & "'"

Chi

They mostly come at night...mostly


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: asp.net + sql views

ASP.NET’s “view state www.computing.net/answers/programming/aspnets-view-state/10381.html

asp.net website creation advice www.computing.net/answers/programming/aspnet-website-creation-advice/12692.html

ASP.NET - EOF coding www.computing.net/answers/programming/aspnet-eof-coding/11019.html