sql Views

Discussion in 'ASP .Net' started by Lamis, Nov 29, 2007.

  1. Lamis

    Lamis Guest

    Hi,
    I have a few Views in my sql 2005 database that I need to use in my .Net 2.0
    C# application. I know how to call procedures but how do I call Views???

    Thanks for helping
    --
    LZ
     
    Lamis, Nov 29, 2007
    #1
    1. Advertising

  2. "Lamis" <> wrote in message
    news:...

    > I have a few Views in my sql 2005 database that I need to use in my .Net
    > 2.0
    > C# application. I know how to call procedures but how do I call Views???


    SELECT * FROM MyView


    --
    Mark Rae
    ASP.NET MVP
    http://www.markrae.net
     
    Mark Rae [MVP], Nov 29, 2007
    #2
    1. Advertising

  3. What Mark means is that there is absolutely no difference for the code
    between a view and a table.

    --
    Eliyahu Goldin,
    Software Developer
    Microsoft MVP [ASP.NET]
    http://msmvps.com/blogs/egoldin
    http://usableasp.net


    "Mark Rae [MVP]" <> wrote in message
    news:OLYay%...
    > "Lamis" <> wrote in message
    > news:...
    >
    >> I have a few Views in my sql 2005 database that I need to use in my .Net
    >> 2.0
    >> C# application. I know how to call procedures but how do I call Views???

    >
    > SELECT * FROM MyView
    >
    >
    > --
    > Mark Rae
    > ASP.NET MVP
    > http://www.markrae.net
     
    Eliyahu Goldin, Nov 29, 2007
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Tony George
    Replies:
    1
    Views:
    590
    Jim Gibson
    Nov 14, 2003
  2. Tim Rogers

    Having One Page Produce Multiple Views

    Tim Rogers, Nov 7, 2003, in forum: ASP .Net
    Replies:
    3
    Views:
    556
    George Ter-Saakov
    Nov 10, 2003
  3. Shawn H. Mesiatowsky

    SQL Innerjoins and data views

    Shawn H. Mesiatowsky, Apr 7, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    1,204
    Scott Allen
    Apr 8, 2005
  4. ecoolone
    Replies:
    0
    Views:
    775
    ecoolone
    Jan 3, 2008
  5. JohnE

    sql 2005 views

    JohnE, Jun 18, 2010, in forum: ASP .Net
    Replies:
    1
    Views:
    342
    Paul Shapiro
    Jun 18, 2010
Loading...

Share This Page