private void btnSave_Click(object sender, EventArgs e) { db.Classroom_TimeEdit(_roomKey, cr.Room_ID, _classId, cr.Class_ID, cr.Professor_ID, _startTime, cr.StartTime, cr.Duration, _dayNo, cr.Day_No); // CurrentCell.Value = txtInfo.Text; // this.Dispose(); }