Re: Datagrid colums name ??
- From: joshuacoad@xxxxxxxxx
- Date: 24 Jan 2006 05:52:01 -0800
I don't blame you on not wanting to use the IDE, I prefer not to as
well.
It might be easier to come up with a solution if I knew a little bit
more about what the application is doing, for instance, when you are
collecting the data that determines the column names. One suggestion
would be to use a DataTable instead of a DataSet. Is there a fixed
number of columns and how are you determining what the columns are to
be named? The DataSet does have the following property that maybe you
could use:
oDataSet.Tables(0).Columns(0).ColumnName
You could traverse through the DataSet and change the ColumnName based
on the index, before you bind it to the DataGrid.
.
- References:
- Re: Datagrid colums name ??
- From: joshuacoad
- Re: Datagrid colums name ??
- Prev by Date: Export to Excel issue (C#)
- Next by Date: Re: caching/state management
- Previous by thread: Re: Datagrid colums name ??
- Next by thread: Number of rows from datareader?
- Index(es):
Relevant Pages
|