[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Executes the query and binds the results to a grid view.

Namespace: JohnHolliday.Caml.Net
Assembly:  JohnHolliday.Caml.Net (in JohnHolliday.Caml.Net.dll)

Syntax

C#
void DataBind(
	SPGridView gridView,
	SPList list,
	bool initColumns
)
Visual Basic (Declaration)
Sub DataBind ( _
	gridView As SPGridView, _
	list As SPList, _
	initColumns As Boolean _
)
Visual C++
void DataBind (
	SPGridView^ gridView, 
	SPList^ list, 
	bool initColumns
)

Parameters

gridView
SPGridView
the grid view to bind to
list
SPList
the list containing the data
initColumns
Boolean
whether to initialize the grid view columns with the fields found in the result set

See Also

ICamlQuery Interface
JohnHolliday.Caml.Net Namespace