Click here to Skip to main content
15,915,742 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to update the data? Pin
savitri21-Apr-08 23:30
savitri21-Apr-08 23:30 
GeneralRe: How to update the data? Pin
Mukesh Kumar22-Apr-08 0:53
Mukesh Kumar22-Apr-08 0:53 
QuestionRe: How to update the data? Pin
David Crow22-Apr-08 4:49
David Crow22-Apr-08 4:49 
GeneralRe: How to update the data? Pin
Mark Salsbery22-Apr-08 5:54
Mark Salsbery22-Apr-08 5:54 
GeneralRe: How to update the data? Pin
savitri22-Apr-08 22:33
savitri22-Apr-08 22:33 
GeneralRe: How to update the data? Pin
Mark Salsbery23-Apr-08 9:18
Mark Salsbery23-Apr-08 9:18 
QuestionRe: How to update the data? Pin
savitri23-Apr-08 22:51
savitri23-Apr-08 22:51 
GeneralRe: How to update the data? Pin
Mark Salsbery24-Apr-08 6:02
Mark Salsbery24-Apr-08 6:02 
You stated your member variables are m_Name and m_PhNumber.

Are those members of a dialog class, and associated with the controls through DDX?

If so, just set the appropriate member variable and let DDX update the control:
m_Name = namestringfromdatabasefield;
m_PhNumber = phonenumberstringfromdatabasefield;
UpdateData(FALSE);

Since you haven't shown any code you've tried, and there's many many ways to do this,
it's really hard to give you an example.

Mark

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

Generaladd resource used by the app [modified] Pin
followait21-Apr-08 23:10
followait21-Apr-08 23:10 
QuestionRe: add resource used by the app Pin
Rajesh R Subramanian21-Apr-08 23:22
professionalRajesh R Subramanian21-Apr-08 23:22 
GeneralRe: add resource used by the app Pin
followait21-Apr-08 23:41
followait21-Apr-08 23:41 
QuestionRe: add resource used by the app Pin
David Crow22-Apr-08 4:50
David Crow22-Apr-08 4:50 
GeneralDebugging in defined macros Pin
Mathefreak21-Apr-08 21:53
Mathefreak21-Apr-08 21:53 
QuestionRe: Debugging in defined macros Pin
CPallini21-Apr-08 22:15
mveCPallini21-Apr-08 22:15 
GeneralApplication crashes in Debug mode and properly working in release mode. Pin
ShilpiP21-Apr-08 21:40
ShilpiP21-Apr-08 21:40 
GeneralRe: Application crashes in Debug mode and properly working in release mode. Pin
Iain Clarke, Warrior Programmer21-Apr-08 22:10
Iain Clarke, Warrior Programmer21-Apr-08 22:10 
GeneralRe: Application crashes in Debug mode and properly working in release mode. Pin
ShilpiP21-Apr-08 22:30
ShilpiP21-Apr-08 22:30 
QuestionRe: Application crashes in Debug mode and properly working in release mode. Pin
Rajesh R Subramanian21-Apr-08 22:58
professionalRajesh R Subramanian21-Apr-08 22:58 
GeneralRe: Application crashes in Debug mode and properly working in release mode. Pin
ShilpiP21-Apr-08 23:02
ShilpiP21-Apr-08 23:02 
GeneralRe: Application crashes in Debug mode and properly working in release mode. Pin
Rajesh R Subramanian21-Apr-08 23:07
professionalRajesh R Subramanian21-Apr-08 23:07 
GeneralRe: Application crashes in Debug mode and properly working in release mode. Pin
ptr_Electron22-Apr-08 2:59
ptr_Electron22-Apr-08 2:59 
GeneralRe: Application crashes in Debug mode and properly working in release mode. Pin
ShilpiP22-Apr-08 3:41
ShilpiP22-Apr-08 3:41 
QuestionRe: Application crashes in Debug mode and properly working in release mode. Pin
Rajesh R Subramanian23-Apr-08 0:09
professionalRajesh R Subramanian23-Apr-08 0:09 
GeneralRe: Application crashes in Debug mode and properly working in release mode. Pin
ShilpiP23-Apr-08 1:37
ShilpiP23-Apr-08 1:37 
QuestionPIPES or SOCKETS Pin
IamPoojaa21-Apr-08 20:24
IamPoojaa21-Apr-08 20:24 

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.