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 is a windows based application?

537


Which method of the messagebox class is used to display a message in the message box?

564


What is the synonym of form?

516


What are the forms of graphics?

515


What are the forms of database?

529






What is the extension of a compiled help project file?

576


Is form action required?

513


Which command prompt utility is used to convert a resource file from the text format into the binary format?

609


How to use the FindControl() function to preselect an item in my dropdownlist?

1701


which property is used to change to some value to access a identity column in datacontrols?

1675


How do you apply specific formatting to the data inside the cells?

1836


Name the property which of menu cannot be set at run time?

662


Explain about crystal report in brief?

554


To which namespace does the control class belong?

534


What is formdata?

570