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.

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.
  1. Single Cast
  2. Multi Cast
  3. Asynchronous
Delegate is a type known as pointer type looks like method and perform like type derived from super type delegate.Delegate is Reliable declaring N number methods with same nature with different different operation can perform nay effective order through delegateDelegates can be various type

Friday, 19 September 2014

Thursday, 18 September 2014

Saturday, 13 September 2014

Tuesday, 9 September 2014

Copyright © DotNet-Ashok