da = new SqlDataAdapter("select DISTINCT Date,Humidity,Temprature,light,Voltage,outp from Dataset", cn.con); dt = new DataTable(); da.Fill(dt); dataGridView1.DataSource = dt;
da = new SqlDataAdapter("select DISTINCT Date,Humidity,Temprature,light,Voltage,outp from Dataset", cn.con); dt = new DataTable(); da.Fill(dt); DataView dv= dt(/*default*/true).DefaultView;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)