Re: How do I only bind certain columns with a DataGrid?
From: rbutch_at_coair.com ((rbutch_at_coair.com))
Date: 12/13/04
- Next message: Sahil Malik: "Re: DataTable Column values"
- Previous message: rbutch_at_coair.com: "Re: DataTable Column values"
- In reply to: W.G. Ryan eMVP: "Re: How do I only bind certain columns with a DataGrid?"
- Next in thread: Grant: "Re: How do I only bind certain columns with a DataGrid?"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 13 Dec 2004 11:28:03 -0800
yes, i would set the auto gen to false.
then go into the code behind and right before the end tag of the datagrid,bind the columns you want.
<Columns>
<asp:BoundColumn DataField="Actual_Column_Name" HeaderText="whatever"></asp:BoundColumn>
<asp:BoundColumn DataField="Actual_Column_Name" HeaderText="whatever"></asp:BoundColumn>
</Columns>
**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
- Next message: Sahil Malik: "Re: DataTable Column values"
- Previous message: rbutch_at_coair.com: "Re: DataTable Column values"
- In reply to: W.G. Ryan eMVP: "Re: How do I only bind certain columns with a DataGrid?"
- Next in thread: Grant: "Re: How do I only bind certain columns with a DataGrid?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|