Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
60% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
Ranked #4K

9 Posted Topics

Member Avatar for cyberdaemon

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. …

Member Avatar for cyberdaemon
0
185
Member Avatar for MattBerry

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 …

Member Avatar for MattBerry
0
213
Member Avatar for ogsirus

Hi, Have a look at DataAdapters to update your source and don't do acceptchanges as this clears the update flags. Hope this helps

Member Avatar for ogsirus
0
796
Member Avatar for MattBerry

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 …

0
75
Member Avatar for MattBerry

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 …

Member Avatar for kvprajapati
0
225
Member Avatar for jd_davis

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.

Member Avatar for MattBerry
1
864
Member Avatar for jonnod123

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. …

Member Avatar for MattBerry
0
139
Member Avatar for ndhamecha
Member Avatar for MattBerry

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 …

Member Avatar for Diamonddrake
0
111

The End.