Chapter 11 Quick Reference


Chapter 11 Quick Reference

To

Do This

Bind a collection to a control

Set the control's DataSource property to the collection

Choose a column to display in the control

Set the control's TextTextField property to the column name

Choose a column to use programmatically (that's NOT displayed in the control)

Set the control's TextValueField property to the column name

Display a DataTable as a grid

Use the DataGrid or the GridView controls

Display a DataTable as a formatted, repeating list

Use either the DataList or the Repeater

Make a class' member variables available as DataTextFields and DataValueFields within a control

Expose the members as properties




Microsoft ASP. NET 2.0 Programming Step by Step
Microsoft ASP.NET 2.0 Step By Step (Step By Step (Microsoft))
ISBN: B002KE5VYO
EAN: N/A
Year: 2005
Pages: 177

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net