Linqdatasource updating

15-Nov-2014 13:34

I assume that you have created LINQ to SQL classes by going through Now again go to the Data tab and drag Linq Data Source control to the page.

Now configure the Linq Data Source control as described in

It is useful for data in any repeating structure just like Data List and Repeater controls.

It enables you to display data in a format specified by you using templates and styles.

Do let me know if you have any comments or suggestions. Full Name: Sheo Narayan Member Level: Honorary Platinum Member Status: Administrator Member Since: 7/8/2008 PMCountry: India Regards, Sheo Narayan MVP, Author, Writer, Mentor & architecting applications since year 2001.

NET List View control is a powerfull control that encapsulates the best features from ASP. It has flexibility of Repeater, easy binding like Grid View, improved rendering capability and much more.

You should see List View something like above picture in your browser provided you have inserted the same records as I do :).

Hope you enjoyed playing with List View and Linq Data Source control.

Make sure that you have selected Enable Delete, Enable Insert and Enable Update checkbox from the smart tag of the Linq Data Source control as displayed in the picture below. Select Tiled from Layout, Professional from Style and Enable Editing, Enable Inserting, Enable Deleting and Enable Paging from the Options as displayed in the picture below. Just enter few records, try editing, deleting records.Now open the smart tag of the List View control and choose the Data Source as the Linq Data Source as displayed in the picture below. In the Enable Paging dropdown you may select Next/Previous pager or Numeric pager. Once the number of records will exceed the Page Size of the Data Pagers (that will be automatically inserted into List View when you will select Enable Paging from the Configure List View dialogue box) First, Previous, Next and Last button at the bottom will be enabled automatically.