JS implementation countdown: JS to achieve merchandise countdown
Source: Internet
Author: User
Achieve the start of the countdown to merchandise
DataSet DataSet = new DataSet ();
String connstr = configurationmanager.connectionstrings["Sqlservercon"]. ConnectionString;
using (SqlConnection conn = new SqlConnection (CONNSTR))
{
Conn. Open ();
using (SqlCommand cmd = conn. CreateCommand ())
{
Cmd.commandtext = "SELECT * from T_buondtimebuy";
SqlDataAdapter adapter = new SqlDataAdapter (cmd);
Adapter. Fill (DataSet);
}
}
DataTable table = DataSet. Tables[0];
for (int i = 0; i < table. Rows.Count; i++)
{
DataRow row = table. Rows[i];
Time[i]= (row["Time"). ToString ();
}
Timed.value = time[1];
Achieve the end of the product countdown
This article links http://www.cxybl.com/html/wyzz/JavaScript_Ajax/20130712/39058.html
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.