Coding & Programming > Programming Forum

What is a LinqDataSource control?

(1/1)

beingchinmay:
The LinqDataSource control enables you to use LINQ. in an ASP.NET Web page by setting the properties in the markup text. You can use the control retrieve or modify data. It is similar to the SqIDataSource and ObjectDataSource controls in the sense that it can be used to declaratively bind other ASP.NET controls on a page to a data source. The difference is that instead of binding directly to a database or to a generic class, the LinqDataSource control is designed to bind a LINQ enabled data model.

harrywood:
The LinqDataSource control in .NET 3.5's LINQ library is simpler and quicker to use than older controls, but it's designed for accessing data. DataSourceControl pattern introduced with ASP.NET 2.0. It is similar to the ObjectDataSource and SqlDataSource controls in that it can be used to declaratively bind other ASP.NET controls on a page to a datasource.

Navigation

[0] Message Index

Go to full version