Click here to Skip to main content
15,563,228 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Unique field Pin
Colin Angus Mackay21-Feb-07 0:22
Colin Angus Mackay21-Feb-07 0:22 
AnswerRe: Unique field Pin
Colin Angus Mackay21-Feb-07 0:28
Colin Angus Mackay21-Feb-07 0:28 
Questionread the long binary data Pin
lopashree20-Feb-07 20:34
lopashree20-Feb-07 20:34 
QuestionMultimedia in vb,net Pin
Hossein Narimani Rad20-Feb-07 20:06
Hossein Narimani Rad20-Feb-07 20:06 
QuestionHashing Pin
Radiit20-Feb-07 19:42
Radiit20-Feb-07 19:42 
AnswerRe: Hashing Pin
Dave Kreskowiak21-Feb-07 5:37
mveDave Kreskowiak21-Feb-07 5:37 
Questiondifference between Datagrid & datagridview Pin
priya_p23320-Feb-07 19:37
priya_p23320-Feb-07 19:37 
AnswerRe: difference between Datagrid & datagridview Pin
sathesh pandian20-Feb-07 20:00
sathesh pandian20-Feb-07 20:00 
Differences Between the Windows Forms DataGridView and DataGrid Controls

The DataGridView control is a new control that replaces the DataGrid control. The DataGridView control provides numerous basic and advanced features that are missing in the DataGrid control. Additionally, the architecture of the DataGridView control makes it much easier to extend and customize than the DataGrid control.

The following table describes a few of the primary features available in the DataGridView control that are missing from the DataGrid control.

DataGridView control feature Description
Multiple column types
The DataGridView control provides more built-in column types than the DataGrid control. These column types meet the needs of most common scenarios, but are also easier to extend or replace than the column types in the DataGrid control. For more information, see Column Types in the Windows Forms DataGridView Control.

Multiple ways to display data
The DataGrid control is limited to displaying data from an external data source. The DataGridView control, however, can display unbound data stored in the control, data from a bound data source, or bound and unbound data together. You can also implement virtual mode in the DataGridView control to provide custom data management. For more information, see Data Display Modes in the Windows Forms DataGridView Control.

Multiple ways to customize the display of data
The DataGridView control provides many properties and events that enable you to specify how data is formatted and displayed. For example, you can change the appearance of cells, rows, and columns depending on the data they contain, or you can replace data of one data type with equivalent data of another type. For more information, see Data Formatting in the Windows Forms DataGridView Control.

Multiple options for changing cell, row, column, and header appearance and behavior
The DataGridView control enables you to work with individual grid components in numerous ways. For example, you can freeze rows and columns to prevent them from scrolling; hide rows, columns, and headers; change the way row, column, and header sizes are adjusted; change the way users make selections; and provide ToolTips and shortcut menus for individual cells, rows, and columns.


The DataGrid control is retained for backward compatibility and for special needs. For nearly all purposes, you should use the DataGridView control. The only feature that is available in the DataGrid control that is not available in the DataGridView control is the hierarchical display of information from two related tables in a single control. You must use two DataGridView controls to display information from two tables that are in a master/detail relationship.






Sathesh Pandian

QuestionSelect Record Between 2 Dates Pin
Kumaran21cen20-Feb-07 19:33
Kumaran21cen20-Feb-07 19:33 
AnswerRe: Select Record Between 2 Dates Pin
Dave Kreskowiak21-Feb-07 5:36
mveDave Kreskowiak21-Feb-07 5:36 
QuestionBrowse the directory system Pin
ArchaBhandare20-Feb-07 19:00
ArchaBhandare20-Feb-07 19:00 
AnswerRe: Browse the directory system Pin
sathesh pandian20-Feb-07 19:15
sathesh pandian20-Feb-07 19:15 
GeneralRe: Browse the directory system Pin
ArchaBhandare20-Feb-07 19:29
ArchaBhandare20-Feb-07 19:29 
GeneralRe: Browse the directory system Pin
sathesh pandian20-Feb-07 19:42
sathesh pandian20-Feb-07 19:42 
GeneralRe: Browse the directory system Pin
ArchaBhandare20-Feb-07 19:55
ArchaBhandare20-Feb-07 19:55 
GeneralRe: Browse the directory system Pin
sathesh pandian20-Feb-07 22:41
sathesh pandian20-Feb-07 22:41 
GeneralRe: Browse the directory system Pin
ArchaBhandare20-Feb-07 23:10
ArchaBhandare20-Feb-07 23:10 
GeneralRe: Browse the directory system Pin
sathesh pandian20-Feb-07 23:24
sathesh pandian20-Feb-07 23:24 
GeneralRe: Browse the directory system Pin
ArchaBhandare20-Feb-07 23:31
ArchaBhandare20-Feb-07 23:31 
GeneralRe: Browse the directory system Pin
sathesh pandian20-Feb-07 23:38
sathesh pandian20-Feb-07 23:38 
GeneralRe: Browse the directory system Pin
ArchaBhandare20-Feb-07 23:41
ArchaBhandare20-Feb-07 23:41 
GeneralRe: Browse the directory system Pin
sathesh pandian20-Feb-07 23:44
sathesh pandian20-Feb-07 23:44 
GeneralRe: Browse the directory system Pin
ArchaBhandare20-Feb-07 23:49
ArchaBhandare20-Feb-07 23:49 
GeneralRe: Browse the directory system Pin
sathesh pandian20-Feb-07 23:56
sathesh pandian20-Feb-07 23:56 
GeneralRe: Browse the directory system Pin
ArchaBhandare21-Feb-07 0:01
ArchaBhandare21-Feb-07 0:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.