EDN Admin
Well-known member
Source Error:
Line 22: sda.Fill(ds,"Individuals");
Line 23: dgIndividuals.DataSource = ds.Tables["Individuals"];
Line 24: dgIndividuals.DataBind();
Line 25: }
Line 26: private void DoConnect() {
OleDbConnection calendarConn = new OleDbConnection(sqlConn);
OleDbCommand selCMD = new OleDbCommand("Select * from Individuals", calendarConn);
OleDbDataAdapter sda = new OleDbDataAdapter();
sda.SelectCommand = selCMD;
DataSet ds = new DataSet();
sda.Fill(ds,"Individuals");
dgIndividuals.DataSource = ds.Tables["Individuals"];
dgIndividuals.DataBind();
}
View the full article
Line 22: sda.Fill(ds,"Individuals");
Line 23: dgIndividuals.DataSource = ds.Tables["Individuals"];
Line 24: dgIndividuals.DataBind();
Line 25: }
Line 26: private void DoConnect() {
OleDbConnection calendarConn = new OleDbConnection(sqlConn);
OleDbCommand selCMD = new OleDbCommand("Select * from Individuals", calendarConn);
OleDbDataAdapter sda = new OleDbDataAdapter();
sda.SelectCommand = selCMD;
DataSet ds = new DataSet();
sda.Fill(ds,"Individuals");
dgIndividuals.DataSource = ds.Tables["Individuals"];
dgIndividuals.DataBind();
}
View the full article