- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
9 Posted Topics
Hi, I am a bit confused why you would want to effectively rewrite the EntityFramework? But you could do something like this: public class Contact { public int Id {get; set;} public string Name {get; set} } Note you don't need to add field names when doing it like this. …
Hi, I wonder if anybody can set me straight as I am having a hard time understanding what is going on with INotifyPropertyChanged. My understanding of the events are: 1> Have a window with 2 textfields and a button 2> Create an instance of the Employee object 5> Bind both …
Hi, Have a look at DataAdapters to update your source and don't do acceptchanges as this clears the update flags. Hope this helps
Hi Guys, I have been looking at MVC for a few days now and still haven't come to a conclusion of why on earth anyone would ever want to use it! When you look at the richness of WebForms in comparison for example DataGrids and the whole pagination and other …
Guys I hope you can help me as this is driving me mad. I have written an installer. This installer installs a service. If I release an upgrade to my app, the installer is meant to overwrite the existing files. What I have done is check to see if the …
This is my understanding: All objects are disposed of in the using block but not immediately, only the object/s in the using brackets are sent to the garbage collector immediately. Any other object/s that are created inside the using braces are disposed of when the .net get around to it.
I would probably create a class with a static method in it that returned the connectionstring. I would then do a global search for the 'new sqlconnection' statement and replace it with your new static method. Not a piece of cake and I would make a backup before doing anything. …
Yes, that is it just do a Select @var = @@IDENTITY
I recently bought a nice shiney new laptop with widescreen 1080p. The problem is now when I compile the application and it is run on a non-widescreen monitor it displays incorrectly. In particular the controls that are anchored to the right and bottom are displayed too far off to the …
The End.
MattBerry