|
| ||||||||||
| Tags: asp, c sharp, datagrid, dbms, dell, gridview, java, visual basic 6 |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Datagrid VS Gridview
|
|
#2
| |||
| |||
| Re: Datagrid VS Gridview
Good question ask. I opinion would be the GridView control is the more successor to the DataGrid control. The GridView control is design to show/display data in an HTML table, same has DataGrid. And when you bound both of them to a data source, they both will each display a row from a DataSource as a row in an output table. The gridview has new feature which datagrid does not have and they are: Richer design-time capabilities, improved data source binding capabilities and additional column types and design-time column operations. |
|
#3
| ||||
| ||||
| Re: Datagrid VS Gridview
I would give you short and simple answer. The answer is that the gridview has many built-in controls for sorting and paging whereas when comes to the datagrid requires 3poodles. And from my personal experience, the gridview is much flexible, but it still carries a lot of "weight" as a trade-off for that flexibility. Hope your will get proper knowledge about the datagrid and gridview. |
|
#4
| ||||
| ||||
| Re: Datagrid VS Gridview
Advantages of Grid View compared to DataGrid 1] It has the now attributes paging again sorting can emblematize implemented misplaced postback. 2] We need to set coin EnablePagingandSortingCallbacks to true. When user selects another page catalogue for GridView it doesn't postback. 3] We can populate gridview from SqlData source/Object Data dawn by setting. DataSourceid property of GridView. In ObjectDataSource we can give the mention of the business object(class), which makes occupation easier. 4] When we populate GridView from SqldataSource or ObjectDataSource,by locale allowSorting and Allow Paging commit be handled in built. When we populate gridview other than by giving DataSourceId we need to handle paging also sorting explicitly. 5] AutogenerateColumns property is set to apropos in cons |
|
#5
| ||||
| ||||
| Re: Datagrid VS Gridview
Since they both outputs as HTML Tables, the absolute differences are activity to be in how you manually edit the codes for Sorting, paging, updates, and deletions in DataGrids. Manual coding isn't appropriate for these with GridViews. How able-bodied (performance-wise) do you code?
__________________ Grand Theft Auto 4 PC Video Game |
|
#6
| ||||
| ||||
| Re: Datagrid VS Gridview
According to me, the Datagrid can be used in web also, and think so the most important differences are the sorting, inserting which is been told already. And also the DataGrid is used for the windows applications, but in earlier versions where datagrids were the only source i.e. ASP.NET 1.1, contains many issues and thus many people used to use XPTables instead of grid inwindows applications. Hope you got enough knowledge about the Datagrid and Gridview. |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Datagrid VS Gridview" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| neweditindex property in gridview | Alexis25 | Software Development | 3 | 13-06-2009 10:05 AM |
| How to use Gridview ImageField in DataImageUrlFormatString on ASP.net | AK_Chopra | Software Development | 2 | 08-06-2009 09:54 PM |
| Add Columns to GridView Programmatically | Firon | Software Development | 3 | 19-05-2009 06:44 PM |
| Nested DataTable for GridView | Renderman21 | Software Development | 3 | 08-05-2009 02:08 PM |
| asp.net gridview to pdf | Dietrich | Software Development | 1 | 05-02-2009 11:15 AM |