View Complete Post
I have run into a problem with optimistic concurrency in my dynamic data application (where all relevant settings are at their default values); when I try to update or delete one of my tables, I see the following error:
Exception type: ChangeConflictException Exception message: Row not found or changed.
I am the only user of my database at the moment, so I can guarantee that the data both exists and has not been changed outside the application!
Various forums have suggested that the way to deal with this is to set the column attributes so that the concurrency checking is disabled; i.e.
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PropSurname", DbType="NVarChar(255)", UpdateCheck=UpdateCheck.Never)]
However, to do this manually through the Visual Studio designer will take me hours (I have a lot of tables) and if I then change the schema of one of the tables in the DB, won't I then have to do it all again? I've tried editing the .designer.cs file directly but my changes are subsequently overwritten (as expected).
All suggestions gratefully received!
I just wanna setup a .net framework 4.0 on my VPS for a
new site. While I could not find the ASP.NET tab on properties. I did
some research find some similar problems but haven't fixed it yet.
Any suggestion would helpful.
This is how my Add / Remove Window looks like...
Recently i installed Visual Studio 2008 where
all these components got installed automatically...
Now the problem i face is...
PLZ HELP PALS !
Just curious to know if there was any official Microsoft code blocks, classes, or such for writing a service that runs other assemblies or WCF services? That can be configured easily from a web page, pre-coded, for running tasks at certain times on certain recurring intervals? I've already built one but am open to anything done better- which I'm sure there is. Thanks!!!
The entlib 5 sugest me to use with data accessors for mapping data from database to my data objects (ORM).
But in .NET 3.5 and especially in .NET 4, I can use in entity framework as ORM methodology for data objects.
What data accessors uses advantages over the entity framework?
What differences that should be affect on my using decisions?
I need to validate an XML through XSD. I am using XMLReader (with XmlReaderSettings and
Validation_EventHandler to do it). Depend on users preference, I would like to change the output message generated by Validation_EventHandler in french or english.
Any idea on how to perform this?
May i use the collapse and expand feature (like tree menu) at Report iam using the Report viewer Control for displaying the Report on my Asp.net Page .
I have number records and each record have detail as i clicked or expand the record then details will be shown is it possible with report viewer control If any one have experince before please share the ideas.