clsConnection sqlconn = new clsConnection(); SqlCommand sqlcomm = new SqlCommand(); sqlcomm.Connection = sqlconn.connection; sqlcomm.CommandType = CommandType.StoredProcedure; sqlcomm.CommandText = "ElectricityData.LP_Chart_EDIS_Status"; SqlDataReader sqlread = sqlcomm.ExecuteReader(CommandBehavior.CloseConnection); chtLoadProfile.DataBindTable(sqlread, "DateTime"); sqlcomm.Close(); sqlread.Close();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)