freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

火車訂票系統(tǒng)-資料下載頁

2024-12-06 03:35本頁面

【導(dǎo)讀】專業(yè)班級:軟件08C1

  

【正文】 if () { ()。 continue。 } else { cars1 = cars。 Seat1 = Seat。 ()。 k++。 break。 } } } } { if () { //創(chuàng)建連接 火車訂票系統(tǒng)畢業(yè)論文 33 SqlConnection = new SqlConnection()。 = Data Source=(local)。Initial Catalog=TicketsMS。Integrated Security=True。 ()。 DateTime now = 。 //創(chuàng)建命令對象 SqlCommand cm = new SqlCommand()。 = 。 = insert into tbl_orderhistory values(39。 + Session[UserID] + 39。,39。 + times + 39。,39。 + beginTime + 39。,39。 + trainID + 39。,39。 + beginStation + 39。,39。 + endStation + 39。,39。 + type + 39。,39。 + ticketKind + 39。,39。139。,39。 + () + 39。, 39。 + cars1 + 39。,39。 + Seat1 + 39。)。 ()。 SqlConnection con = new SqlConnection()。 = Data Source=localhost。Initial Catalog=TicketsMS。Integrated Security=True。 ()。 SqlCommand = new SqlCommand()。 = con。 = update tbl_ticket set ticket =ticket1 where trainID =39。 + trainID + 39。 and dates= 39。 + times + 39。 SqlDataReader dr = ()。 ()。 ()。 (script language=javascriptconfirm(39。訂票成功!39。)。=39。39。/script)。 ()。 } } } } //分頁代碼 public void Datalistbind() { SqlConnection = new SqlConnection([TicketsMSConnectionString].ConnectionString)。 string sql = select * from tbl_notice。 DataSet ds = new DataSet()。//創(chuàng)建數(shù)據(jù)集 SqlDataAdapter sda = new SqlDataAdapter(sql, )。//創(chuàng)建數(shù)據(jù)適配器對象 。 (ds, notice)。 PagedDataSource pds = new PagedDataSource()。 = [0].DefaultView。 = 8。 = true。 火車訂票系統(tǒng)畢業(yè)論文 34 = () 1。 = ()。 if () { = false。 } else { = true。 } if () { = false。 } else { = true。 } = pds。 ()。 } protected void Page_Load(object sender, EventArgs e) { if (!) { = 1。 Datalistbind()。 } } protected void LnkbtnFirst_Click(object sender, EventArgs e) { = 1。 Datalistbind()。 } protected void LnkbtnFront_Click(object sender, EventArgs e) { = (() 1).ToString()。 Datalistbind()。 } protected void LnkbtnNext_Click(object sender, EventArgs e) { = (() + 1).ToString()。 Datalistbind()。 } 火車訂票系統(tǒng)畢業(yè)論文 35 protected void LnkbtnLast_Click(object sender, EventArgs e) { = 。 Datalistbind()。 } protected void LnkbtnTo_Click(object sender, EventArgs e) { = 。 Datalistbind()。 } } //用戶退票代碼,當(dāng)在系統(tǒng)日期之后的可以退票,系統(tǒng)當(dāng)天的,如果開車時間大于當(dāng)前的系統(tǒng)時間 20分鐘就可以退票,否則過期的都 不好退票。 DateTime k1, k2,k3。 string sql。 int rowindex = ()。 a = [rowindex].Cells[0].()。 Session[OrderID] = a。 b = [rowindex].Cells[1].()。 Session[times] = b。 c = [rowindex].Cells[2].()。 Session[trainID] = c。 d = [rowindex].Cells[5].()。 Session[beginTime] = d。 k1 = ((Session[beginTime]))。 k2 = ((()))。 k3=((Session[times]))。 if ( ||( == amp。amp。 (20)= k1)) { { ()。 SqlConnection con = new SqlConnection()。 = Data Source=localhost。Initial Catalog=TicketsMS。Integrated Security=True。 ()。 SqlCommand = new SqlCommand()。 = con。 = update tbl_ticket set ticket =ticket+1 where trainID =39。 + Session[trainID] + 39。 and dates= 39。 + Session[times] + 39。 SqlDataReader dr = ()。 ()。 ()。 } 火車訂票系統(tǒng)畢業(yè)論文 36 } else { ()。 } } //退票 delete事件 代碼 DELETE FROM tbl_orderhistory WHERE (OrderID = @OrderID) AND (times CONVERT(varchar(10) , getdate(), 120 )) or ((OrderID = @OrderID) and (times = CONVERT(varchar(10) , getdate(), 120 )) and (datediff(minute,CONVERT(varchar(8) , getdate(), 108 ), beginTime)=20)) //查詢車次信息,如果沒有查到,出現(xiàn)相應(yīng)的信息提示。 string sql。 int c1 = 0。 //創(chuàng)建數(shù)據(jù)庫連接 SqlConnection conn1 = new SqlConnection([TicketsMSConnectionString].ConnectionString)。 ()。 //創(chuàng)建命令對象 SqlCommand m1 = new SqlCommand()。 //查找數(shù)據(jù)庫表中的信息 = select * from tbl_trains join tbl_ticket on = where + Session[answer]。 = conn1。 SqlDataReader dr1 = ()。
點擊復(fù)制文檔內(nèi)容
研究報告相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1