Showing posts with label GridView. Show all posts
Showing posts with label GridView. Show all posts
Tuesday, 18 November 2014
How To Use Grid View Page Index Changing In Asp.Net
Here I Will Explain How to use Page Index/Pagination In Grid View.With various types of paging in ASP.NET. We use C# code to bind the SQL data with a Grid View control and use the following simple steps to make your ASP.NET Grid View control with paging enabled. The Grid View control provides you with an easy way to display the number of items on a page

What is Page Index In Asp.Net?
To show he number of items on a page in Grid View.
C# code to bind the SQL data with a Grid View control and use the following steps.
Create a SQL table

What is Page Index In Asp.Net?
To show he number of items on a page in Grid View.
C# code to bind the SQL data with a Grid View control and use the following steps.
Create a SQL table
Tuesday, 21 October 2014
Freeze GridView Header Row In Asp.Net
In Grid View Control You Can easily display all the collection of data and we can easily add sorting and paging, and perform in-line editing.Some time there is large no of data which makes grid view scrollable, headers will also scroll along with the other grid view contents making it difficult for the user to understand the data properly.In this situations we can freeze the header row then the user can scroll the data and see the header as fixed.
Monday, 20 October 2014
How to add Data Item Index in Grid View In Asp.Net
The GridView control is the successor to the DataGrid and extends it in a number of ways. While developing GridView control in ASP.NET, programmers often requires to display row number in GridView controls.
This can be accomplished by addingtthe Container.DataItemIndex in the html markup of the Gridview control.
Thursday, 16 October 2014
How To Add Dynamic Controls Into Gridview in Asp.net
How to add dynamic controls to the Grid view in the Code Behind page. when the page is refresh or the page is Post Back the dynamically created controls will disappear from Grid View, this sample will show how to resolve this issue.
Step 1. Create a C# "ASP.NET Web Application" Name it Add_Dynamic_Control_to_Grid-view".
Step 2. Add a Grid-view Control to Default.aspx page then rename it to "MyData". This page will bind the data and show the dynamically created Link Button Control.
Step 1. Create a C# "ASP.NET Web Application" Name it Add_Dynamic_Control_to_Grid-view".
Step 2. Add a Grid-view Control to Default.aspx page then rename it to "MyData". This page will bind the data and show the dynamically created Link Button Control.
Subscribe to:
Posts (Atom)


