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
DataGrid and Checkboxes In ASP.NET     
Total Hits: 1372  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

Working with Checkboxes and Datagrid is an interesting aspect. Their may be many situations in which, we need to allow the user to select many rows in a table or datagrid. Think of a datagrid which has a checkbox in the first column. User can select any number of rows they may need. Our job is to find the number of rows selected by the user. Once we have the ID of the selected rows, we can do anything with those rows. We can delete or what ever we need to do with the selected rows. In this artic...

ASP.NET Editing a Data Grid Control     
Total Hits: 3349  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

Modifying / Editing records in a table is as simple as that with the help of editable datagrid. In this article, we will see, what should we need to create an editable datagrid. Let us start with the datagrid declaration....

Updating/Editing From a DataGrid     
Total Hits: 2489  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

Several things are necessary for creating these features in the DataGrid. First, you just add an 'Edit/Update/Cancel' button column to the grid. Second, for each of those options (Edit/Update/Cancel), you need to create a subroutine that takes care of that particular task. In this case, they are MyDataGrid_EditCommand, MyDataGrid_Cancel, and MyDataGrid_UpdateCommand. The first two are fairly self-explanatory, but the last one, the UpdateCommand, has the real 'meat' of this code sample. It provid...

.NET Anatomy: Creating Templated DataGrid Controls Using Visual Studio .NET : Part 1     
Total Hits: 395  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article provides an in-depth explanation of the the way in which the .NET Framework's ASP.NET Server Controls, and in particular, how DataGrids have the ability to be embedded with other controls, like text fields, DropDown lists and the like using what are known as Templates....

How to Print a DataGrid in C# and .NET     
Total Hits: 918  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

The DataGrid is a highly versatile component of the .NET architecture and probably one of the most complex components....

Ask the DotNetJunkies : Building a Master/Detail DataGrid Part II     
Total Hits: 2057  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

Well, first off...thanks for the compliment. Now, let's cut to the chase. What you are asking, adding a TemplateColumn to an embedded DataGrid, can certainly be done. We are going to take a slightly different approach for this however. In this tutorial I will show you how to embed a DataGrid in a DataGrid, with a TemplateColumn in the embedded DataGrid. The design for the embedded DataGrid will actually be done in the Web Form, and we will call a method in our code behind class to populate the e...

Hierarchical Data and the ASP.NET DataGrid     
Total Hits: 3095  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

As Web developers our motto has always been "why should the WinForms guys have all the cool stuff!" It has been both our frustration and delightful challenge to try and give our users as rich a UI experience as that of a thick client application. In the process we have had to come up with an amazing array of hacks and ingenious work-arounds to make it so. When ASP.NET previewed in beta we were like kids in a candy store rushing to try all the new sugar coated goodies that came with the .NET Fram...

Using the DataGrid Server Control - Part 2     
Total Hits: 163  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

Now, the DataGrid can be useful in many ways. You can use it for a simple display of data, you can sort it, you can edit it, you can page it, etc. I will show you how to edit it after you have built it. There are also a few very nice examples of how to format dates shown in the grid, how to scroll the page to the item that is being edited and how to restrict dates of the user input when using RangeValidator Control....

Editing with the ASP.NET DataGrid     
Total Hits: 343  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

This is a great question. The best part about it is that the ASP.NET DataGrid server control enables editing of records in a much easier fashion. In classic ASP you would typically provide an edit link for the user and redirect them to a page with the ID value in the QueryString....

Retain Scrollback Position After Postback in DataGrid     
Total Hits: 1005  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

One question keeps coming up over and over again; not only to u but others seeing it on newsgroups and forums also. The question is, "how can we make a page scroll back to the original position in a DataGrid when the user posts a form back to a server?" In this article Im going to demonstrate one way to do it through the use of bookmarks....

DataGrid Output Formatting     
Total Hits: 521  |  Today: 0Author: Joel Gray      Rating:  
Read Reviews | Write Review |  Your Rating: 

In this article I will demonstrate how to use two different techniques to modify the output and formatting of your data. I will show you how to use a helper function to change the data displayed. After that, I will explain how to use the OnItemDataBound event of the DataGrid to modify the data and the formatting of the grid....

A ComboBox in a DataGrid     
Total Hits: 1179  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

This is a decendant from DataGridColumnStyle and is used to have a ComboBox in a datagrid column. It is based on a article by Sudhakar Jalli but found the code not working....

An Extensive Examination of the DataGrid Web Control: Part 10     
Total Hits: 491  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article is the tenth piece of a multi-part series on using the DataGrid Web control that will span several months. The ASP.NET DataGrid Web control, which displays database information in an HTML table, is highly versatile....

DataGrid WebForms Control: Some Cool Features     
Total Hits: 621  |  Today: 0Author: Mahesh Chand      Rating:  
Read Reviews | Write Review |  Your Rating: 

In this article, I'll show you how to make your ADO.NET web application interactive using this control by just setting few properties....

HOW TO: Use a CheckBox Web Control in a DataGrid in Visual Studio .NET (Q306227)      
Total Hits: 6520  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

Use this step-by-step guide to add a CheckBox control to a DataGrid and bind it to the Authors table in the Microsoft SQL Server Pubs database. In Visual Studio .NET web forms, you can add controls to the DataGrid by using the TemplateColumn object....

HOW TO: Loop Through and Examine CheckBox Control Values in a DataGrid Column by Using ASP.NET and Visual Basic .NET (Q321881)     
Total Hits: 8584  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

This step-by-step article demonstrates how to loop through each row of an ASP.NET DataGrid control and how to determine if the ASP.NET CheckBox server control that is used to identify the row has been selected....

Double Click event in DataGrid     
Total Hits: 1028  |  Today: 0Author: Jesudas Chinnathampi      Rating:  
Read Reviews | Write Review |  Your Rating: 

One of the rich in-built Webserver control is the DataGrid. We can do a lot with a DataGrid.There are several ways, in which we can customize the datagrid according to our need. Assume that we have a datagrid and we want to select any item (row) from .....

Creating Web Server Control Templates Programmatically     
Total Hits: 5752  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

Illustrates how to create templates in code for the Repeater, DataList, and DataGrid ASP.NET server controls, showing examples in both Visual Basic .NET and Visual C# .NET....

Displaying Two DataTables In One DataGrid     
Total Hits: 1174  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

Typically one dataGrid is bound with one DataTable. However, consider the case of two tables both having a common key column called ID. Say one table contains personal information about employees and another table contains some official information. EmployeeID is the common in both the tables and both tables have same number of rows (equal to the no of employees). How to display such tables in one DataGrid? Read on to know more....

Creating DataGrid Templated Columns Dynamically - Part II     
Total Hits: 1729  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

In previous part of this article we saw how to use LoadTemplate method to dynamically add templated columns to the DataGrid. In this part we will see how to do that using ITemplate interface....


1  2  3  4  5  6  7  8  9  10  Next >> 


Disclaimer - Privacy
© 2002-2012 DevASP.net