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.
Tuesday, 21 October 2014
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.
Thursday, 25 September 2014
Monday, 22 September 2014
How to Preview Uploaded Image before Upload To Server
Here i will explain how to preview the image file before uploaded to server. When we upload any image file to server or to any file location.It is not possible to find out the write selection you have choose which u want to upload to server. By this example we are able to preview the selected image file before upload and choose the correct selection which u want to upload.
Saturday, 20 September 2014
What Is Delegate
Here I will explain what is Delegate and types of Delegate.
- Single Cast
- Multi Cast
- Asynchronous
Friday, 19 September 2014
Thursday, 18 September 2014
What Is Constructor & Types Of Constructor
Constructor is a method which invokes automatic at the time of object creation.It Initialize object as per nature.Constructor is perform with various type
- Default
- Parameters
- Static
- Private
- Copy
Constructor relates with overloading and base class initialization
Saturday, 13 September 2014
How to Create Dynamic TextBox And Get Its Value
Before i was explain How to create dynamic Asp controls.How to Generate Dynamic Asp ControlsNow Here i will show to you how to retrieving the value of the dynamically created Text Box In Asp.Net.
Tuesday, 9 September 2014
Subscribe to:
Posts (Atom)