What?s the difference between the
System.Web.UI.WebControls.DataGrid and
System.Windows.Forms.DataGrid?

Answer Posted / sugandhi

The Web UI control does not inherently support master-detail data structures. As with other Web server controls, it does not support two-way data binding. If you want to update data, you must write code to do this yourself. You can only edit one row at a time. It does not inherently support sorting, although it raises events you can handle in order to sort the grid contents. You can bind the Web Forms DataGrid to any object that supports the IEnumerable interface. The Web Forms DataGrid control supports paging. It is easy to customize the appearance and layout of the Web Forms DataGrid control as compared to the Windows Forms one.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are controls in windows forms?

708


How can you pause a timer control?

834


How many types of dialog boxes windows provides?

786


Explain how to split a column header in gridview using c#.net?

764


What is formdata?

743


What is window form application?

707


Which property is used to specify the use of an element in the user interface and reports it to the accessibility aids?

766


What are the different cloud platforms?

734


How many navigational features are provided by visual studio.net ide?

811


What is a windows form application?

717


How to get records from a database?

788


How is anchoring different from docking?

787


What are the three states set in a checkstate property?

740


i already displaying one datagrid. now i want to make change to particular column header i.e i want to split that column header and it includes one more header.... write a code for that in windows application using C#.net

1714


how print PGL by XML

2776