public MainWindow() { InitializeComponent(); DataContext = DataHelper.GetRows(); }
private void Form1_Load(object sender, EventArgs e) { recordBindingSource.DataSource = DataHelper.GetData(10); }
public MainWindow() { InitializeComponent(); DataContext = DataHelper.GetRows(); }
private void Form1_Load(object sender, EventArgs e) { recordBindingSource.DataSource = DataHelper.GetData(10); }