Tutorials

Learn more with our video tutorials! Look what we have in store for you.

  • Introduction to Test Driven Development
    In this video we will introduce the concepts of Test Driven Development. Test Driven Development (TDD) is a technique in which tests are written before the actual code.

  • Selecting CheckBoxes Inside GridView Using JQuery
    This video demonstrate how to select checkboxes inside the GridView control using JQuery library.

    $(document).ready(function() 
    {
       $("#chkAll").click(function() 
       {
            this.checked = !(this.checked);
            
            $("#gvCategories input:checkbox").attr("checked",
            function()
            {
                this.checked = !(this.checked);
            });
       });
            
    });
    
    
  • Populating DropDownList Inside the GridView Control
    This video demonstrate how to populate a DropDownList contained inside the GridView control.

  • Introduction to the ListView Control
    In this video you will see how to display data using the ListView control.

  • LINQ to SQL Validation
    This tutorial will demonstrate how to perform validation using LINQ to SQL.

  • LINQ to SQL Joins
    In this video Mohammad Azam will demonstrate how to use LINQ to SQL inner and outer left joins.

  • LINQ to SQL Gothas
    In this video you will see some of the gothas when working with LINQ to SQL as your data access layer.

  • LINQ to SQL Delay Load Option
    This tutorial will demonstrate how to delay loading the properties using LINQ to SQL.
    class Program
        {
            static void Main(string[] args)
            {
                DiscussionBoardDataContext db = new DiscussionBoardDataContext();
    
                DataLoadOptions options = new DataLoadOptions();
                options.LoadWith(p => p.Description);
    
                db.LoadOptions = options;
    
                var query = from f in db.Forums
                            join p in db.Posts
                            on f.ForumID equals p.ForumID
                            select p;
    
                Console.WriteLine(query);            
            }   
        }


  • LINQ TO SQL Grouping
    This tutorial will demonstrate how to use Grouping using LINQ to SQL classes.
    
    static void Main(string[] args)
            {
                NorthwindDataContext northwind = new NorthwindDataContext();
    
                var list = from c in northwind.Categories
                           join p in northwind.Products
                           on c.id equals p.CategoryID
                           group p by c.CategoryName into products
                           select new
                           {
                               CategoryName = products.Key,
                               Products = products
                           };
    
                foreach (var item in list)
                {
                    Console.WriteLine(item.CategoryName);
    
                    foreach (var product in item.Products)
                    {
                        Console.WriteLine(product.ProductName);
                    }
    
                    Console.WriteLine("------------------");
                }
    
    
            }
    
    


Sponsored by

SEARCH FOR JOBS

Keywords:(e.g. ASP Developer)

Location:
(Hold Ctrl for multiple)

Categories:













© Copyright 2004-2008 Developers.ie. All rights reserved. Hosted by Hosting365.
TUTORIALS

Learn more! Check the videos we have in store for you. You can find tutorials on LINQ, SilverLight, ASP.NET, etc...