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



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

Answer / 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

More Dot Net WindowsForms Interview Questions

Name the event that enables the user to prevent shifting of focus from control until all the validation rules have been met.

0 Answers  


how find recored from the database

2 Answers   Wipro,


Name the template that is used to create a user-defined component.

0 Answers  


how save recoreed in the database

4 Answers   Wipro,


What is the advantage of a form?

0 Answers  


How to redirect a user to new page in ASP.NET without making a round-trip to the browser?

1 Answers   Arctern,


Is form action required?

0 Answers  


Name the method that has to be overridden to change the appearance of the control that is inherited from an existing control.

0 Answers  


Explain how to get records from a database?

0 Answers  


how can u split a column header in gridview using C#.net

2 Answers   IBM,


Explain how to add resources during runtime?

0 Answers  


How will calculated the net amount in tax add like total net amount = LT+ST+CESS+amount 2500 = 10%+12.5%+5.15%+amount? kindly please explain what type of formula we apply in software? Tushar

0 Answers  


Categories