i have开发者_高级运维 to know about 1)How to insert , delete, update a value in LINQ to SQL? 2)How to display the all rows and column values in kist box or other controls in windows phone?
Linq2Sql is not supported on the phone. It may be in the future when SQL CE is supported.
A list of currenlty supported databases on the phone can be found at Local Sql database support for Windows phone 7
There are lots of ways that you can display data in a list or grid. However, with a portrait orientation and a relatively small amount of screen real estate, tables (grids) are seldom a good way of displaying data. If you can provide more detail about the data you wish to display we may be able to advise more appropriately.
For an example of displaying data in a listbox using a viewmodel and databinding can be seen in the default code which is included when you create a new "Windows Phone Databound Application".
精彩评论