Home / ASP.NET Weblogs

Latest Microsoft Blogs

Browse by Tags

Related Posts

  • 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 DataKeyNames = "ProductID" ID = "products" runat = "server" AllowPaging = "True" AllowSorting = "True" CellPadding = "4" ForeColor = "#333333"...


Page 1 of 1 (1 items)

Archives