Пример #1
0
        protected void Timer3_Tick(object sender, EventArgs e)
        {
            SqlOperation op = new SqlOperation();

            op.insertTempReading(Double.Parse(temp), int.Parse(Session["userid"].ToString()));
            op.insertMoistureReading(int.Parse(reading), 1);
            Debug.Print("inserted");
            Timer3.Interval = interval * 1000;
        }
Пример #2
0
        protected void Timer3_Tick(object sender, EventArgs e)
        {
            SqlOperation op = new SqlOperation();

            op.insertTempReading(Double.Parse(temp), int.Parse(Session["userid"].ToString()));
            op.insertMoistureReading(int.Parse(reading), 1);
            Debug.Print("inserted");
            Timer3.Interval = interval * 1000;
        }