Click here to Skip to main content
15,895,192 members
Home / Discussions / C#
   

C#

 
AnswerRe: My customer should dot net framework be installed on his device to open and use my application? Pin
Pete O'Hanlon28-Sep-07 2:11
mvePete O'Hanlon28-Sep-07 2:11 
AnswerRe: My customer should dot net framework be installed on his device to open and use my application? Pin
Dan Neely28-Sep-07 2:11
Dan Neely28-Sep-07 2:11 
GeneralRe: My customer should dot net framework be installed on his device to open and use my application? Pin
Vasudevan Deepak Kumar28-Sep-07 2:21
Vasudevan Deepak Kumar28-Sep-07 2:21 
GeneralRe: My customer should dot net framework be installed on his device to open and use my application? Pin
Dan Neely28-Sep-07 2:40
Dan Neely28-Sep-07 2:40 
QuestionRecord in Txt Pin
Can_8528-Sep-07 1:56
Can_8528-Sep-07 1:56 
AnswerRe: Record in Txt Pin
Colin Angus Mackay28-Sep-07 2:00
Colin Angus Mackay28-Sep-07 2:00 
QuestionREFRESH the database after updating Pin
prasadbuddhika28-Sep-07 1:50
prasadbuddhika28-Sep-07 1:50 
AnswerRe: REFRESH the database after updating Pin
Malcolm Smart28-Sep-07 2:38
Malcolm Smart28-Sep-07 2:38 
If you want the data to be read from the db, then you have to connect.

What I think you should be doing is having a data access layer, beneath the businses object you are displaying. If you are displaying a 'person', you would have a person data object. When you have data to save, get the front end / business layer to write the changes to the data layer. This layer should have a 'Save() / Write() / Commit()' method, which you can call when you need to, which will commits the data to the database. This way, the data layer is always in sync with the DB (Assuming nothing else writes to the DB), and you shouldn't need to read from it, only when first loading the object.



"More functions should disregard input values and just return 12. It would make life easier." - comment posted on WTF


"This time yesterday, I still had 24 hours to meet the deadline I've just missed today."

QuestionProblem with font and GDI+ Pin
Bin2Hex28-Sep-07 1:39
Bin2Hex28-Sep-07 1:39 
Questioninserting control into DataGridView rows Pin
half-life28-Sep-07 1:22
half-life28-Sep-07 1:22 
AnswerRe: inserting control into DataGridView rows Pin
half-life28-Sep-07 1:35
half-life28-Sep-07 1:35 
QuestionGetting REG_MULTI_SZ values into a listbox Pin
Lucy28-Sep-07 0:24
Lucy28-Sep-07 0:24 
QuestionRe: Getting REG_MULTI_SZ values into a listbox [modified] Pin
Lucy28-Sep-07 1:53
Lucy28-Sep-07 1:53 
AnswerRe: Getting REG_MULTI_SZ values into a listbox Pin
Dave Kreskowiak28-Sep-07 7:46
mveDave Kreskowiak28-Sep-07 7:46 
QuestionWindows Service. Pin
André Stroebel28-Sep-07 0:19
André Stroebel28-Sep-07 0:19 
AnswerRe: Windows Service. Pin
Pete O'Hanlon28-Sep-07 0:43
mvePete O'Hanlon28-Sep-07 0:43 
GeneralRe: Windows Service. Pin
André Stroebel28-Sep-07 0:56
André Stroebel28-Sep-07 0:56 
AnswerRe: Windows Service. Pin
Vikram A Punathambekar28-Sep-07 0:48
Vikram A Punathambekar28-Sep-07 0:48 
GeneralRe: Windows Service. Pin
André Stroebel28-Sep-07 1:24
André Stroebel28-Sep-07 1:24 
AnswerRe: Windows Service. Pin
André Stroebel28-Sep-07 2:41
André Stroebel28-Sep-07 2:41 
AnswerRe: Windows Service. Pin
PIEBALDconsult28-Sep-07 4:56
mvePIEBALDconsult28-Sep-07 4:56 
JokeRe: Windows Service. Pin
ESTAN28-Sep-07 9:51
ESTAN28-Sep-07 9:51 
GeneralRe: Windows Service. Pin
André Stroebel30-Sep-07 21:21
André Stroebel30-Sep-07 21:21 
Questionrestoring a hidden windows application ? Pin
cmpeng3428-Sep-07 0:01
cmpeng3428-Sep-07 0:01 
AnswerRe: restoring a hidden windows application ? Pin
Pete O'Hanlon28-Sep-07 0:49
mvePete O'Hanlon28-Sep-07 0:49 

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.