CodeSmith Community
Your Code. Your Way. Faster!

How to use a view as the datasource for gridview

Latest post 01-21-2008 8:03 AM by stu28bu. 1 replies.
  • 01-20-2008 4:49 PM

    • Naimad
    • Not Ranked
    • Joined on 01-10-2008
    • Wales
    • Posts 1
    • Points 35

    How to use a view as the datasource for gridview

     Please could some one tell me the method to use a view as the datasource for my gridview.  I have created the view in SQL2005 and the classes come through to the Entities and Services projects but I can't see how to use them as a datasource.

    Filed under: , ,
    • Post Points: 35
  • 01-21-2008 8:03 AM In reply to

    • stu28bu
    • Top 500 Contributor
    • Joined on 07-11-2007
    • Posts 10
    • Points 330

    Re: How to use a view as the datasource for gridview

    Haven't ever tried anything like that, however I do know that there is an EntityDataSource that might work.  Again I never done much with views or the EntityDataSource, but I know it's there.

    • Post Points: 5
Page 1 of 1 (2 items) | RSS
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems