hunterz_85

Stories kicked by hunterz_85

Custom Paging in GridView Using LINQ(codetechblg.blogspot.com)

submitted by hunterz_85hunterz_85(15) 2 years, 3 months ago

LINQ to SQL is another capability which we can use to manage the relational database object as .net object. We can query, insert, update and delete the underlying database object with these classes. When we query/update/delete these .net object, LINQ to SQL will automatically take care of the underlying relational data objects operations. In short, LINQ to SQL provides an Object-Relational Mapping (O/R Mapping) which maps objects of different type system. In our case, it is relational to object oriented type system. With these information’s, we will move to our subject matter with these introductions. To understand the custom paging implementation, we will bind the GridView with employee data. The sample will contain 2 tables, Employee and Department in APP_Data folder. We will bind the GridView with the data fetched from the database using LINQ to SQL classes. read more...

add a comment |category: |Views: 244

tags: another

Custom Paging And Jump to a Page Using LINQ (SEO Friendly Custom Pagin(codetechblg.blogspot.com)

submitted by hunterz_85hunterz_85(15) 2 years, 3 months ago

The main disadvantage of the custom paging in my previous article is, the pager links are not simply a hyper link to a page. Instead, they are associated with javascript which makes a postback to bind the current page records and thus making it not search engine friendly. A link is search engine friendly if it has a target page associated with it through href property. Search engines will automatically reach the target page and will index those pages in this case. Moving forward, in this article we will provide custom paging for GridView control that are search engine friendly. Additionally, we will also provide jump to page feature using dropdownlist control for the GridView control. read more...

add a comment |category: |Views: 61

tags: another

How to read, insert, update and delete from an XML file Using LINQ to (codetechblg.blogspot.com)

submitted by hunterz_85hunterz_85(15) 2 years, 3 months ago

This is an introduction to Linq to XML showing how to read, insert, update and delete from an XML file. read more...

add a comment |category: |Views: 112

tags: another

Inline Editing Using jQuery and Ajax in Repeater control(codetechblg.blogspot.com)

submitted by hunterz_85hunterz_85(15) 2 years, 3 months ago

Repeater control is one of the light weight control when compared to the other databound controls. It provides more flexibility on the layout of data displayed and the control itself will not render any additional HTML like GridView and DataList control do. It only renders the HTML we specified in the template columns which makes it light weight when compared to other controls. Repeater control as such will not provide edit/update functionalities for the data. In this article, we will overcome this difficulty and provide an edit update feature similar to GridView control using the powerful jQuery library and Ajax. read more...

add a comment |category: |Views: 379

tags: another

Using URL Routing in ASP.NET 3.5(codetechblg.blogspot.com)

submitted by hunterz_85hunterz_85(15) 2 years, 4 months ago

Routing is a technique which enables us to use a descriptive, search engine and human friendly URL’s for ASP.Net application to access a resource. In this technique, the URL will not map to a resource physically. For example, in a normal asp.net application, the URL "http://localhost/Articles/Default.aspx" will actually corresponds to a physical file called Default.aspx under the folder “Articles”. read more...

add a comment |category: |Views: 48

tags: another