Interview Question

Created by admin on Sat, 17/11/2012 - 16:53
Question: 

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

Language: 
Answer: 
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