DataGrid and colum caption
- From: "Thomas" <tjamet@xxxxxxxxxxx>
- Date: 23 May 2005 20:47:40 -0700
VB .NET 2003
Windows Forms Controls
Hello,
I have a dataset, whose structure is defined in an XML schema. In the
XML Schema, every field has a caption attribute.
This dataset is bound to a grid (via the VB Designer).
But the column header text matches the field name and not the caption
attribute (desired behavior).
Is there a way to instruct the datagrid to display the caption
attribute of the field instead of its name?
I have seen this topic in the past, but I didn't find an answer that
did not require me to process each column individually. Creating a
column style for each column is a bad approach from a maintenance point
of view. Can't I achieve the same result by a few clicks in the
designer, or a few lines of code, that would handle all columns at
once?
Thanks for your help,
Thomas
.
- Prev by Date: ADO connectstring for SQLServer not port 1433
- Next by Date: RE: Access 2000 to 2003.
- Previous by thread: ADO connectstring for SQLServer not port 1433
- Next by thread: Error 0x800A0CAE
- Index(es):
Relevant Pages
|
|