using System.Data;
using Infragistics.Win;
using Infragistics.Win.UltraWinGrid;
.....................
DataTable table = new DataTable("Table");
//Create three columns that will hold sample data.
DataColumn column1 = new DataColumn("CCY", typeof(string));
DataColumn column2 = new DataColumn("Percentage", typeof(int));
//Add the three columns to the table.
table.Columns.AddRange(new DataColumn[] { column1, column2});
table.Rows.Add("EUR",20);
table.Rows.Add("DKK", 120);
//Add the table to the dataset.
//this.dataSet1.Tables.Add(table);
manualSpreadsheetControl1.DataSource = table;
............
No comments:
Post a Comment