How can I bind to a database with Dataset
-
Hi all, I use this code to fill the DataGridView but this code has error in the Underlined line private void Form1_Load(object sender, EventArgs e) { DataSet1TableAdapters.ExpParamsTA ExpParamsTA= new Datam.DataSet1TableAdapters.ExpParamsTA(); ExpParamsTA.Fill(DataSet1.ExpParamsDataTable); BindingSource Exp = new BindingSource(DataSet1, "ExpParams"); dataGridView1.DataSource = Exp; } Please help me Thanks in advance
-
Hi all, I use this code to fill the DataGridView but this code has error in the Underlined line private void Form1_Load(object sender, EventArgs e) { DataSet1TableAdapters.ExpParamsTA ExpParamsTA= new Datam.DataSet1TableAdapters.ExpParamsTA(); ExpParamsTA.Fill(DataSet1.ExpParamsDataTable); BindingSource Exp = new BindingSource(DataSet1, "ExpParams"); dataGridView1.DataSource = Exp; } Please help me Thanks in advance
-
Hi all, I use this code to fill the DataGridView but this code has error in the Underlined line private void Form1_Load(object sender, EventArgs e) { DataSet1TableAdapters.ExpParamsTA ExpParamsTA= new Datam.DataSet1TableAdapters.ExpParamsTA(); ExpParamsTA.Fill(DataSet1.ExpParamsDataTable); BindingSource Exp = new BindingSource(DataSet1, "ExpParams"); dataGridView1.DataSource = Exp; } Please help me Thanks in advance
-