Click here to Skip to main content
15,913,941 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
What are the differences between datagrid and dataform in silverlight

i am new to silverlight please help on this any one

Thanks in advance
Posted
Updated 1-Jul-12 19:26pm
v2

As the best practice in Silverlight programming, Datagrid is used to display the summary of records read only. Where as Dataform will display the details of the selected record.

Datagrid is a User Interface control element, derived from System.Windows.Controls, where as Dataform control enables various methods for display, edit, update and navigation through data.
 
Share this answer
 
v2
DataGrid: You use dataGrid to show some data, relevant data to the user. It looks like an Excel sheet, but less detailed. You can Add, Edit and Delete data from the DataGrid. Is a very specialized control. You can view many records at the same time.

DataForm: Use it when you must show detailed data. Show all data (customizable) and allows to Add, Edit and Delete a particular data, navigating one by one.

You can Add a DataForm inside a Row of the DataGrid control, so when you select a specific row on DataGrid you can see the corresponding row with respective data.

Hope it helps.

----
Mark as solution if you find this useful.
 
Share this answer
 
v2
ggg2222222222222222222222bbbbbbbbbbbbcvsrdffffffffffff
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900