-
大小: 18.4 KB文件類型: .rar金幣: 1下載: 1 次發(fā)布日期: 2025-01-02
- 語言: ASP
- 標(biāo)簽: 開發(fā)技術(shù)??C#??
資源簡(jiǎn)介
注冊(cè)登錄,信息查找,信息綁定
代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.Linq;
using?System.Web;
using?System.Web.UI;
using?System.Web.UI.WebControls;
using?System.Data;
using?System.Data.SqlClient;
public?partial?class?ckxw?:?System.Web.UI.Page
{
????protected?void?Page_Load(object?sender?EventArgs?e)
????{
????????if?(!IsPostBack)
????????{
????????????bind();
????????}
????}
????void?bind()
????{
????????SqlConnection?conn?=?DB.creatconn();
????????string?sql?=?“select?*?from?news?where?nid=‘“?+?Request.QueryString[“nid“].ToString()?+?“‘“;
????????conn.Open();
????????SqlCommand?cmd?=?new?SqlCommand?(sqlconn);
????????SqlDataReader?dr?=?cmd.ExecuteReader();
????????if(dr.Read?())
????????{
????????????xwbt.Text?=?dr[“nbt“].ToString();
????????????xwlx.Text?=?dr[“nlx“].ToString();
????????????fbz.Text?=?dr[“fbz“].ToString();
????????????llcs.Text?=?dr[“l(fā)lcs“].ToString();
????????????xwnr.Text?=?dr[“nr“].ToString();
????????????dr.Close();
????????}
????????int?cs?=?Convert.ToInt32(llcs.Text)?+?1;
????????string?sql1?=“update?news?set?llcs?=‘“+cs+“‘where?nid=‘“+Request.QueryString?[“nid“].ToString?()+“‘“;
????????cmd.CommandText?=?sql1;
????????cmd.ExecuteNonQuery();
????????conn.Close();
????
????}
????
}
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件????????541??2018-11-06?10:24??lhy\App_Code\DB.cs
?????文件???????1546??2018-11-13?11:37??lhy\ckxw.aspx
?????文件???????1264??2018-11-20?12:34??lhy\ckxw.aspx.cs
?????文件????????668??2018-11-06?11:22??lhy\Default.aspx
?????文件????????926??2018-11-06?10:25??lhy\Default.aspx.cs
?????文件????????542??2018-11-20?09:23??lhy\dhl.ascx
?????文件????????727??2018-11-20?10:23??lhy\dhl.ascx.cs
?????文件???????1128??2018-10-23?16:06??lhy\Global.asax
?????文件???????2686??2018-11-13?11:12??lhy\login.aspx
?????文件???????4234??2018-10-30?11:34??lhy\login.aspx.cs
?????文件???????3374??2018-10-30?10:55??lhy\main.aspx
?????文件???????1034??2018-10-30?10:56??lhy\main.aspx.cs
?????文件????????641??2018-11-20?11:44??lhy\MasterPage1.master
?????文件????????291??2018-11-20?11:30??lhy\MasterPage1.master.cs
?????文件???????1292??2018-12-03?10:43??lhy\modify.aspx
?????文件???????3243??2018-12-03?11:44??lhy\modify.aspx.cs
?????文件???????1967??2018-11-27?11:30??lhy\tssc.aspx
?????文件????????442??2018-11-27?11:30??lhy\tssc.aspx.cs
?????文件????????277??2018-10-30?10:14??lhy\web.config
?????文件???????1239??2018-11-27?09:43??lhy\xwgl.aspx
?????文件???????1351??2018-11-27?09:43??lhy\xwgl.aspx.cs
?????文件???????1528??2018-11-20?10:59??lhy\xwjs.aspx
?????文件???????1645??2018-11-20?12:35??lhy\xwjs.aspx.cs
?????文件???????6066??2018-11-13?11:12??lhy\zc.aspx
?????文件???????1428??2018-11-13?11:12??lhy\zc.aspx.cs
????..A..H.?????13824??2018-10-23?16:21??lhy\楊穩(wěn)2.suo
?????目錄??????????0??2018-11-27?09:59??lhy\App_Code
?????目錄??????????0??2018-11-27?11:16??lhy
-----------?---------??----------?-----??----
????????????????53904????????????????????28
............此處省略1個(gè)文件信息
評(píng)論
共有 條評(píng)論
相關(guān)資源
- Aspose.Words 18.7破解版本,含.net core版本
- Aspose.word.dll文件,修復(fù)The document app
- Aspose.Cellsdll 18.4+demo.zip 支持Excel各種
- 醫(yī)藥進(jìn)銷存管理系統(tǒng)源碼
- 網(wǎng)上訂餐系統(tǒng)源碼
- 排課系統(tǒng)C#&ASP;.net內(nèi)有三個(gè)樣本
- Net.asp BLL+DAL+Web實(shí)現(xiàn)三層架構(gòu),自帶增
- 水污染擴(kuò)散模型共享平臺(tái)
- Cracking Digital VLSI Verification Interview:
- 騰飛在線小說網(wǎng)源碼(附帶需求分析
- 微信公眾號(hào)支付Dome項(xiàng)目剛上線,把
- 用ASP寫的電子購物網(wǎng)站
- 仿淘寶網(wǎng)Asp項(xiàng)目
- Aspose.Words
- Asp與ajax前后端交互
- 手表銷售系統(tǒng)(。NET版)
- 多列組合框控件MultiColumnComboBoxEx(1
- aspose.cells 最新破解版
- 員工績(jī)效考核系統(tǒng)源碼
- (2018.11最新破解版)Aspose.Words 18.11破
- Aspose插件與pdf2swf與flashpaper弄的在線瀏
- aspose.word.dll for 18.4.zip,項(xiàng)目親測(cè),無
- C#開發(fā)英語字典
- 東東堂返利網(wǎng)源碼
- mvc5身份認(rèn)證 MvcIdentity
- C# 超市管理系統(tǒng)(asp.net)
- C# 隱藏文件夾
- ASP在線考試系統(tǒng)(帶源碼)