public static TabletDataSet CreateData()
        {
            TabletDataSet ds    = new TabletDataSet();
            DataTable     table = ds.Tables["table"];

            for (int i = 0; i < m_rows; i++)
            {
                object[] row = new object[m_columns];

                for (int j = 0; j < m_columns; j++)
                {
                    row[j] = i * m_columns + j;
                }

                table.Rows.Add(row);
            }

            return(ds);
        }
 private void Window_Loaded(object sender, RoutedEventArgs e)
 {
     gridControl1.ItemsSource = TabletDataSet.CreateData().Tables[0];
 }