What is a LinqDataSource control?

devquora
devquora

Posted On: Feb 22, 2018

 

If you want to use LINQ in an ASP.NET webpage, then LinqDataSource control is a thing for you. It sets the properties in the markup text, and you can use the control to retrieve and modify data. LinqDataSource control can be used to declaratively bind other ASP.NET controls on a page to a data source, and as such it is similar to SQL Datasource and ObjectDataSource controls. However, there lies a difference in the sense that instead of binding directly to a database, LinqDataSource control binds the LINQ enabled data model.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    LINQ Interview Questions

    What do you understand by LINQ?

    Language Integrated Query is the collection of standard query operators which adds query facilities into .NET framework..

    LINQ Interview Questions

    What are the three main components of LINQ?

    The three main components of LINQ are:Standard Query Operators: These are the extension methods that form the LINQ p..

    LINQ Interview Questions

    Explain what is select clause and where clause in LINQ?

    Select clause: the select clause selects the interesting aspects of the element by performing a projection on the col..