Example #1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            DataTable dt = Converts.ConvertToDataTable(ServiceProvider.SystemConfigurationService.FindAll(true).ToArray <SystemConfiguration>());

            dataGridView1.DataSource = dt;

            //dataGridView1.AutoGenerateColumns = true;
        }