Click here to Skip to main content
15,923,006 members
Home / Discussions / Database
   

Database

 
GeneralSome URL needed!!! Pin
Mazdak7-Aug-02 19:37
Mazdak7-Aug-02 19:37 
GeneralRe: Some URL needed!!! Pin
Richard Deeming8-Aug-02 2:04
mveRichard Deeming8-Aug-02 2:04 
GeneralRe: Some URL needed!!! Pin
Mazdak8-Aug-02 20:06
Mazdak8-Aug-02 20:06 
GeneralRe: Some URL needed!!! Pin
Nick Parker8-Aug-02 8:11
protectorNick Parker8-Aug-02 8:11 
GeneralRe: Some URL needed!!! Pin
Mazdak8-Aug-02 20:05
Mazdak8-Aug-02 20:05 
GeneralProblem with SQLserver and updating recordset Pin
Garth5-Aug-02 15:53
Garth5-Aug-02 15:53 
GeneralRe: Problem with SQLserver and updating recordset Pin
Richard Deeming5-Aug-02 23:06
mveRichard Deeming5-Aug-02 23:06 
Generali need your help ...¤Ð__¤Ð; Pin
kims10305-Aug-02 4:56
kims10305-Aug-02 4:56 
I'm looking for sample code..
using ADO not ODBC to access DB....
i want to just a simple code...

1. id and password checking on Dialog before application start
2. and then access to DB
3. member table id char(10) password char(10)
4. Is right or not
=======================================================================
CString tempID, tempPW; //
// int result;

tempID = m_strID; // ·Î±×ÀΠâ¿¡ ÀÔ·ÂµÈ ID ÀúÀå
tempPW = m_strPW; // ·Î±×ÀΠâ¿¡ ÀÔ·ÂµÈ Æнº¿öµå ÀúÀå

// µ¥ÀÌÅͺ£À̽º ¿¬°á ¹®ÀÚ¿­°ú SQL ¸í·É ¹®ÀÚ¿­À» ¼ÂÆÃÇÑ´Ù.
m_strConnection =_T("Provider=SQLOLEDB; Data Source=192.168.3.212; Initial catalog = jok_db; User ID = sa; Password = kiss;");

CString check_id = "EXEC check_id";
m_strCmdText=_T(check_id + " " + "'" + tempID + "'" + "," + "'" +tempPW + "'");

long result = m_pRs->Fields->Item["certify"]->Value;
==========================================================================
environment
MFC, SQL2000

i want to full source code.....
plz i need your help.
thank you for reading....Confused | :confused:


Have a nice day!!!
Generalmemo fields and other big fields Pin
Roman Nurik4-Aug-02 19:18
Roman Nurik4-Aug-02 19:18 
GeneralRe: memo fields and other big fields Pin
Martin Ziacek5-Aug-02 23:23
Martin Ziacek5-Aug-02 23:23 
GeneralRe: memo fields and other big fields Pin
Roman Nurik6-Aug-02 6:05
Roman Nurik6-Aug-02 6:05 
GeneralCollation Pin
Mazdak3-Aug-02 5:30
Mazdak3-Aug-02 5:30 
GeneralRe: Collation Pin
Richard Deeming5-Aug-02 23:13
mveRichard Deeming5-Aug-02 23:13 
GeneralRe: Collation Pin
Richard Deeming5-Aug-02 23:32
mveRichard Deeming5-Aug-02 23:32 
GeneralRe: Collation Pin
Mazdak7-Aug-02 0:36
Mazdak7-Aug-02 0:36 
GeneralUnicode Pin
Mazdak3-Aug-02 4:50
Mazdak3-Aug-02 4:50 
GeneralRe: Unicode Pin
Mazdak3-Aug-02 5:31
Mazdak3-Aug-02 5:31 
GeneralmySQL and Visual C++ Pin
monrobot132-Aug-02 7:16
monrobot132-Aug-02 7:16 
Generalaccess database over internet connection Pin
_ra2-Aug-02 3:11
_ra2-Aug-02 3:11 
Generaldistinct select error Pin
ns1-Aug-02 9:37
ns1-Aug-02 9:37 
Generaldatabase size Pin
Jassim Rahma29-Jul-02 10:51
Jassim Rahma29-Jul-02 10:51 
GeneralRandomly selecting a row from a database Pin
stephen woolhead29-Jul-02 5:00
stephen woolhead29-Jul-02 5:00 
GeneralRe: Randomly selecting a row from a database Pin
AndyG29-Jul-02 7:29
AndyG29-Jul-02 7:29 
Generaldatabase Pin
Shotgun28-Jul-02 13:11
Shotgun28-Jul-02 13:11 
GeneralRe: database Pin
Chris Maunder28-Jul-02 13:59
cofounderChris Maunder28-Jul-02 13:59 

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.