ComponentOne True DataControl 8.0
UserName Property

 

UserName Property

For OLE DB providers that support user name.

Syntax

TData.UserName = long

Remarks

Read/Write at run time and design time. Property applies to TData control.

The TData control uses the UserName property to establish the connection to a data source, for providers that require UserName and Password authorization. Otherwise, it can be left empty (default). This property is relevant only for data source mode (DataMode = 0 – DataSource).

This is a standard ADO property. It can be set at any time during the control’s lifetime, but it will take effect only if set at design time, in WillOpenData event or after the Refresh method is called.

Note: At design time, this property is not available in the property pages and must be set in the Visual Basic Properties window.

See Also

TData Control

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback