Contents tagged with GridView

  • DataControls 101 Part 2: Why you should love Datasource controls

    I've been scouring the forums recently trying to find problems people encounter when using the data controls. One thing that I found is mostly asked for but is kind of a hidden art:
    How do I use the GridView/ListView/DetailsView.... without a Datasource control? (and still get all the fancy features offered).

    Now I've always know that you can do this but I decided to explore how much is involved in making this stuff to work. This sample shows a GridView using raw Linq queries in C#. Let’s dive into the code:

    Markup

    <asp:GridView