I have a DataGrid.One of the columns is a template with a CheckBox in it.When the Checked or Unchecked events trigger, (it happens with both) the CheckBox\'s DataContext is sometimes null, which cause
[Silverlight] I have a large visual object tree I\'m removing from the visual tree (Grid.Children.Clear()), upon removal the DataContext of the root nulls out, but further down the tree a binding开发者
I have configured mini profiler with asp.net mvc application. I also want to profile my db so I hooked it with L2S datacontext as in this example.
I just deployed a users and roles asp database to a website and I\'m getting this exception Object reference not set to an instance of an object.
I have an ASP.NET mvc3 application which is using ninject for DI. The app is making use of Entity Framework 4 and a database initializer that also seeds custom data into the db.
I have a ViewModel called MainWindowViewModel. In this I have a property that shows a modal window when an error occurs. This works fine as long as an error occurs during start-up.
I\'ve found that with Linq-to-SQL, when you create a new object you can not access a foreign-key member until you have called SubmitChanges on the context the new object is being \"created with.\" I u
I\'m having an application using MVC. It has a canvas and property grid. When an item is selected in the canvas. The property grid should display its details.
Is there a way to define eager loading per entire data conte开发者_JAVA技巧xt, so I could state something like this -- \"when using this data context when loading Customer always load associated City
I just started to use LINQ-to-SQL, so my problem may be trivial. We have a central database running on SQL Server 2005. There are distributed desktop .NET 4 applications which save measurement data i