Documente Academic
Documente Profesional
Documente Cultură
SqlClient;
timer1.Enabled= true;
timer1.Interval= 10000;
timer1.Start();
}
timer1.Stop();
con1.Close();
con2.Close();
}
//code for timer elapsed event which is fired on the interval set for the
//timer. Here it is 10 secs.
//updating the data adapter, so that the changes made to the record of first
//database(db1), reflects in original table of db1.
da.Update(dt);
cmd.Dispose();
dt.Dispose();
da.Dispose();
}