Binding bindingNavigator to DataGridView

  • Thread starter Thread starter SeniorU
  • Start date Start date
S

SeniorU

Guest
Hello,

I am have issues trying to bind bindingNavigator to the DataGridView. My scenerio is like this:

I imported csv file into a DataGridView and I want to be able to navigate the records using the bindingNavigator.

How do I bind the bindingNavigator to DataGridView?

Here is what I have done so that isnt working:

private void frmTempGblPayrollCsvFile_Load(object sender, EventArgs e)
{
bindingSource1.DataSource = uS_Payroll_InterfaceDataSet;
bindingNavigator1.BindingSource = bindingSource1;
dataGridView2.DataSource = bindingSource1;
}

Continue reading...
 
Back
Top