Microsoft SDK for Java

Column.setBoundFieldName

Sets the name of the field in the recordset that the column is bound to.

Syntax

public void setBoundFieldName( String name )

Parameters

name

A string that identifies the name of the field to bind the column to.

Remarks

When you call setBoundFieldName, the parent DataGrid control automatically rebinds the column to the specified field. The column's caption is updated to reflect the newly bound field.

Note that multiple columns can be bound to the same field.

See Also   getBoundFieldName

© 1999 Microsoft Corporation. All rights reserved. Terms of use.