Profile Picture

Column Headings on a DataView on a DataGrid

Posted By Paul Mathieu 13 Years Ago
Author
Message
Paul Mathieu
Posted 13 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)

Group: Forum Members
Last Active: 3 Years Ago
Posts: 4, Visits: 5
NChart chart = nChartControl1.Charts[0];
NDataSeriesCollection arrSeries = new NDataSeriesCollection();
NSmoothLineSeries movedata = (NSmoothLineSeries)chart.Series[0];
arrSeries.Add(movedata.Labels, DataSeriesMask.Labels);
dataView1.Table = arrSeries.ExportToDataTable(sTableName);

How do you rename the column heading "Labels" to something else?

Can it be done with
dataView1.Table.Columns.Add(...)
If it can be renamed here or added here, how would you add the data to that specific column?

Third question: Ctrl A,Crtl C then Ctrl V on excel spreadsheet will transfer the data.
Can it be exported to an excel spreadsheet with DDE or oleDb?

Thank you,
Paul






Similar Topics


Reading This Topic