Click here to Skip to main content
15,889,335 members
Home / Discussions / C#
   

C#

 
QuestionI want to know Pin
dileeparuwan5-May-09 16:32
dileeparuwan5-May-09 16:32 
AnswerRe: I want to know Pin
Christian Graus5-May-09 16:57
protectorChristian Graus5-May-09 16:57 
GeneralRe: I want to know Pin
dileeparuwan5-May-09 21:39
dileeparuwan5-May-09 21:39 
QuestionHow to select && or || within formula at run time Pin
MAW305-May-09 16:32
MAW305-May-09 16:32 
Questionodbc firebird C# Pin
mark_me5-May-09 16:03
mark_me5-May-09 16:03 
AnswerRe: odbc firebird C# Pin
Giorgi Dalakishvili5-May-09 20:03
mentorGiorgi Dalakishvili5-May-09 20:03 
QuestionEasy way to create a save/load functionality to an Application Pin
sodevrom5-May-09 13:47
sodevrom5-May-09 13:47 
AnswerRe: Easy way to create a save/load functionality to an Application Pin
Dave Kreskowiak5-May-09 17:23
mveDave Kreskowiak5-May-09 17:23 
There is no "easy" way to do this without proper planning. This should have been one of your first requirements, since it will have a large impact on your data model. What is that, you say?? Well, it's the classes that hold the data that your business logic manipulates. The business logic is told what operations to do on the data by other parts of the business logic, but is ultimately driven by the user interface. So, if all your data is encapulated by some properly designed classes, serializing it to a file or some other data store becomes a trivial matter.

Since the hair on the back of my neck says you're likely storing some of the data in "global" variables, some in your user controls, and some in some other things, like arrays, it's going to be pretty good chore to straighten all this out so you can save/load the data.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




QuestionWinForms Comboboxes Pin
Illegal Operation5-May-09 13:32
Illegal Operation5-May-09 13:32 
AnswerRe: WinForms Comboboxes Pin
dotnetmember5-May-09 16:42
dotnetmember5-May-09 16:42 
AnswerRe: WinForms Comboboxes Pin
Mycroft Holmes5-May-09 17:24
professionalMycroft Holmes5-May-09 17:24 
QuestionTo Dispose() or not Dispose(), that is the question. Pin
Peter Trevor5-May-09 13:02
Peter Trevor5-May-09 13:02 
AnswerRe: To Dispose() or not Dispose(), that is the question. Pin
Luc Pattyn5-May-09 13:25
sitebuilderLuc Pattyn5-May-09 13:25 
GeneralRe: To Dispose() or not Dispose(), that is the question. Pin
fly9045-May-09 14:22
fly9045-May-09 14:22 
GeneralRe: To Dispose() or not Dispose(), that is the question. Pin
Luc Pattyn5-May-09 14:47
sitebuilderLuc Pattyn5-May-09 14:47 
JokeRe: To Dispose() or not Dispose(), that is the question. Pin
fly9045-May-09 15:24
fly9045-May-09 15:24 
GeneralRe: To Dispose() or not Dispose(), that is the question. Pin
Luc Pattyn5-May-09 15:42
sitebuilderLuc Pattyn5-May-09 15:42 
QuestionExpose Property of Constituent Control in UserControl Pin
xfitr25-May-09 11:18
xfitr25-May-09 11:18 
AnswerRe: Expose Property of Constituent Control in UserControl Pin
Christian Graus5-May-09 12:26
protectorChristian Graus5-May-09 12:26 
GeneralRe: Expose Property of Constituent Control in UserControl Pin
xfitr26-May-09 3:47
xfitr26-May-09 3:47 
JokeSolve this...... Pin
Rajdeep.NET is BACK5-May-09 9:09
Rajdeep.NET is BACK5-May-09 9:09 
GeneralRe: Solve this...... Pin
Luc Pattyn5-May-09 9:19
sitebuilderLuc Pattyn5-May-09 9:19 
GeneralRe: Solve this...... Pin
harold aptroot5-May-09 9:27
harold aptroot5-May-09 9:27 
RantRe: Solve this...... Pin
fly9045-May-09 9:25
fly9045-May-09 9:25 
GeneralRe: Solve this...... Pin
harold aptroot5-May-09 9:30
harold aptroot5-May-09 9:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.