<< Return to Main Index

< Return to Class Index

CGXDynamicRecordset::SetConnectString

void SetConnectString(LPCTSTR szConnectString);

szConnectString

A pointer to a string with the default connect string.

Remarks

Specifies the default connect string.

If you do not specify a connect string, the user will be prompted for the database connection when CGXRecordset::Open is called.

For more information about connect strings, see the article "Data Source" in Programming with the Microsoft Foundation Class Library.

See Also

CGXDynamicRecordset::GetConnectString

CGXDynamicRecordset

Class Overview | Class Members