[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,
	SPSite site,
	bool initColumns
)
Visual Basic (Declaration)
Sub DataBind ( _
	gridView As SPGridView, _
	site As SPSite, _
	initColumns As Boolean _
)
Visual C++
void DataBind (
	SPGridView^ gridView, 
	SPSite^ site, 
	bool initColumns
)

Parameters

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

See Also