Search - Articles
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Tuesday, March 03, 2009
Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 

FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

Home >Search > Articles & Samples > ASP.Net > Server Controls > DataGrid Control


Search:
What's New - What's Hot
DataList vs. DataGrid in ASP.NET     
Total Hits: 4189  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

In This Article I want to look at two of the more specialized controls that come with the ASP.NET Framework: the DataList and the DataGrid. Both of these controls are full-featured data-managing tools. In addition to providing a simplified UI programming model for displaying data, ASP.NET includes facilities for binding data sources to these controls so you don't have to write all the code necessary to fish around a database and present your content. This month I'll compare and contrast the Data...

Conditional DataGrid Item and using checkboxes     
Total Hits: 998  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

Using datagrid in ASP.NET and having one bound column with checkboxes. This code check certain certain conditions before displaying the grid....

Populating and Editing a DataGrid in ASP.NET     
Total Hits: 3391  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article will show you step-by-step, how to develop DataGrid, which is able to retrieve data from joined tables and editable. I have used classical MS-SQL Server database “northwind” in my sample....

Binding a DataGrid Control     
Total Hits: 1853  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

The .NET Framework class library, which provides the classes common to all .NET applications, contains several classes that represent server controls. Most Web control classes derive either directly or indirectly from WebControl, which is a member of the .NET Framework class library's System.Web.UI.WebControls namespace....

Using the ASP.NET DataGrid Control     
Total Hits: 1483  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

Displaying data in the form of HTML tables is very common for ASP developers. However, performing operations like proper formatting, creating editable grids, data binding, and providing record paging facilities have always been cumbersome tasks. The DataGrid server control is one of such powerful control which makes all above tasks child's play. The DataGrid control shines when it comes to providing customized data bound tables in ASP.NET Web pages....

Select all checkbox in the data grid  Version: 0.00     Price: $0.00  
Total Hits: 19  |  Today: 0Author: nit_singh      Rating:  
Read Reviews | Write Review |  Your Rating: 

This tip is to create a "Check All" checkbox which will select all the checkboxes in the grid or on the page or if you uncheck individual check box, then it will uncheck the "Select All"check box....

Select all checkbox in the data grid  Version: 0.00     Price: $0.00  
Total Hits: 1  |  Today: 0Author: nit_singh      Rating:  
Read Reviews | Write Review |  Your Rating: 

This tip is to create a "Check All" checkbox which will select all the checkboxes in the grid or on the page or if you uncheck individual check box, then it will uncheck the "Select All"check box....

Select all checkbox in the data grid  Version: 0.00     Price: $0.00  
Total Hits: 2  |  Today: 0Author: nit_singh      Rating:  
Read Reviews | Write Review |  Your Rating: 

This tip is to create a "Check All" checkbox which will select all the checkboxes in the grid or on the page or if you uncheck individual check box, then it will uncheck the "Select All"check box....

Scrollable GridView  Version: 0.00     Price: $0.00  
Total Hits: 1  |  Today: 0Author: ckuroda2001@yahoo.com      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article provides a simple reusable cross browser scrollable GridView in a web user control that can be used with any data source. One of the most common pieces of information displayed on web pages is information from a database. And, the most common web controls used to display database information in a browser are DataGrids and GridViews. However, these controls don't provide any features for scrolling. So, if there are more rows of information than will fit neatly on one page of the brow...

Export Data in ASP.NET, Gridview to DOC - Gridview to Excel - Gridview to PDF  Version: 0.00     Price: $0.00  
Total Hits: 1  |  Today: 0Author: Prabhakar Parihar      Rating:  
Read Reviews | Write Review |  Your Rating: 

In this article I am show power to export data to other Document Software. In other software u have many work do done easily way . sorting , searching and Security purpose you have not want to give data Excel & Doc format so you use Export GridView to PDF....

How to Popup a Customized Window from a GridView via OnClientClick()  Version: 0.00     Price: $0.00  
Total Hits: 13  |  Today: 0Author: Rob@Love2Code      Rating:  
Read Reviews | Write Review |  Your Rating: 

I was searching for a quick way to add a customizable popup into a GridView, and after Googling for 'GridView Popup' and slowly losing patience, I realised I needed to make my own and that I needed to use JavaScript (but wanting to reuse code across a site without retyping it in each time), so I put this bit of code together. Now that I have used it and am happy with the results, I thought I would share this with the world, just in case it could save someone else some time....

Row level JavaScript for GridView  Version: 0.00     Price: $0.00  
Total Hits: 12  |  Today: 0Author: Arjun Arora      Rating:  
Read Reviews | Write Review |  Your Rating: 

This sample explains how to attach JavaScript methods/functions to an ASP.NET GridView control at row level. The user experience here is far better, and the client handles user actions, and there are fewer postbacks. In this sample, there is a checkbox on the grid. When the user checks the checkbox, the row color changes, indicating the user that the particular record is selected. When the user selects an option in the column 'Discontinued?', the text box in the column 'Reason to Discontinue?' f...

Cell Merging of DataGrid in ASP.NET  Version: 0.00     Price: $0.00  
Total Hits: 0  |  Today: 0Author: Deepthi Viswanathan Nair      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article describes how to merge adjacent cells in a Datagrid control in ASP.NET, hence gain better look and clarity for a web page. There are several scenarios in web applications can have some common values repeating in multiple rows. Usually, these common data display against a set of unique data in other columns, and creates a feeling of repeating the data....

About GridView, HyperLinkField, and UrlEncode  Version: 0.00     Price: $0.00  
Total Hits: 0  |  Today: 0Author: percyboy      Rating:  
Read Reviews | Write Review |  Your Rating: 

Unlike BoundField, HyperLinkField doesn't have methods like HtmlEncode or UrlEncode etc. But, it's quite normal when you have to do a "URL encode" processing for a hyperlink's parameter. Such as a person name may contain special characters like '&', etc. For eastern developers in China, Japan, or Korea, this will be more familiar....

Simplify ASP.NET DataGrid by Eliminating Code-Behind  Version: 0.00     Price: $0.00  
Total Hits: 9  |  Today: 0Author: coderchen      Rating:  
Read Reviews | Write Review |  Your Rating: 

The DataGrid control is one of the most powerful controls in the .NET framework. It makes presenting data in columns and rows, one of the most common tasks, a lot easier. But it also has its down side. It's simply too complicated. It requires thorough understanding of the .NET event-driven programming style, such as life-cycle, view-state management etc. Here, I have written an extension class of the ASP.NET DataGrid control, hopefully to reduce the code-behind programming required....

Cell Merging In GridView  Version: 0.00     Price: $0.00  
Total Hits: 1  |  Today: 0Author: Niladri_Biswas      Rating:  
Read Reviews | Write Review |  Your Rating: 

In many ASP.NET applications, we use the GridView control for displaying data. It is a very helpful control and powerful indeed. Many operations can be done using the Gridview control but the UI presentation is more important as it is the look-n-feel that matters a lot. In this small article, I will demonstrate how the cells of the grid can be merged as I have been asked to do the same in one of my recent projects....

Display image in asp:HyperLinkField of GridView  Version: 0.00     Price: $0.00  
Total Hits: 9  |  Today: 0Author: Awais Hafeez 86      Rating:  
Read Reviews | Write Review |  Your Rating: 

Shows how to display an image (instead of simple text) in asp:HyperLinkField or asp:LinkButton column of a GridView. By default, asp:LinkButton and asp:HyperLinkField, being used for GridView navigation, shows simple text hyperlinks. You can easily place an image as a hyperlink. Follow this trick in order to display an image (instead of simple text) in asp:HyperLinkField or asp:LinkButton column....

Extend Repeater to support DataPager  Version: 0.00     Price: $0.00  
Total Hits: 0  |  Today: 0Author: Mr Orange      Rating:  
Read Reviews | Write Review |  Your Rating: 

I have seen some examples of making a Repeater to work with a DataPager like it does with the ListView control. But all examples failed when I tried them, and I spent some time to get this to work. Here is my solution....

Asp.Net GridView Manipulation Inside DataList Control  Version: 0.00     Price: $0.00  
Total Hits: 3  |  Today: 0Author: Moderator1      Rating:  
Read Reviews | Write Review |  Your Rating: 

To make things clear, we are going to display Customer Information in a GridView control under each Customer State using a DataList and a GridView control. The data listed in the GridView control can be manipulated with Edit, Update and Delete operations. Along with this, we are going to place a check box control in the first column of the GridView control, by which we can do a ‘Select All’ action for each Customer list separated by in every Customer State. Finally, a prompt confirmation has bee...

Parent-Child Data Manipulations with GridView and DetailsView control  Version: 0.00     Price: $0.00  
Total Hits: 3  |  Today: 0Author: Moderator1      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article explains the concepts of Parent-Child relationships Data Manipulations with the Asp.Net Data-bound controls. This is achieved by using the Asp.Net GridView control and DetailsView control to perform various database activities such as Add, Edit, Update and Delete operations....


1  2  3  4  5  6  7  8  9  10  


Disclaimer - Privacy
© 2002-2012 DevASP.net