private void qButton1_Click(object sender, EventArgs e) { OleDbConnection oledbParadoxconn = new OleDbConnection(); { string Sqltext = @"Select * from Clockd.EmpNo"; string oledbconnstr = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\\Program Files\\Supertime\\db;Extended Properties=Paradox 5.x;"; oledbParadoxconn.ConnectionString = oledbconnstr; oledbParadoxconn.Open(); OleDbDataAdapter myDataAdapter = new OleDbDataAdapter(Sqltext, oledbParadoxconn); DataSet dtgetdata = new DataSet(); myDataAdapter.Fill(dtgetdata, "table1"); this.metroGrid1.DataSource = dtgetdata; this.metroGrid1.DataMember = "table1"; }
string Sqltext = @"Select EmpNo from Clockd";
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)