摘要: string kk = shuju().Rows[1]["c1"].ToString(); 阅读全文
posted @ 2020-02-05 14:44 侯伟东 阅读(126) 评论(0) 推荐(0) 编辑
摘要: private static DataTable shuju() { OleDbConnection conn = new OleDbConnection("provider=microsoft.jet.oledb.4.0;data source=|datadirectory|data.mdb;") 阅读全文
posted @ 2020-02-05 14:41 侯伟东 阅读(147) 评论(0) 推荐(0) 编辑
摘要: <appSettings> <add key="connstring" value="provider=microsoft.jet.oledb.4.0;data source=|datadirectory|***.mdb"/> <!--<add key="connstringdata" value= 阅读全文
posted @ 2020-02-05 12:49 侯伟东 阅读(110) 评论(0) 推荐(0) 编辑
摘要: protected void Button1_Click(object sender, EventArgs e) { string bh = this.TextBox1.Text.Trim(); string pass = this.TextBox2.Text.Trim(); DataTable d 阅读全文
posted @ 2020-02-05 12:47 侯伟东 阅读(397) 评论(0) 推荐(0) 编辑
摘要: <h4 style="background: #FFCC99; color: #fff;"> 6121919.cn&copy2020 <a href="http://www.beian.miit.gov.cn" target="_blank">冀ICP备17021970号-1</a></h4> 阅读全文
posted @ 2020-02-05 12:46 侯伟东 阅读(178) 评论(0) 推荐(0) 编辑
摘要: this.DropDownList1.SelectedIndex > 0 && this.DropDownList3.SelectedIndex 阅读全文
posted @ 2020-02-05 12:45 侯伟东 阅读(162) 评论(0) 推荐(0) 编辑
摘要: <a href='<%#Eval("c2","file/{0}") %>'>查看邮箱数据文件</a> 阅读全文
posted @ 2020-02-05 12:43 侯伟东 阅读(193) 评论(0) 推荐(0) 编辑
摘要: protected void Button2_Click(object sender, EventArgs e) { if (DropDownList1.SelectedIndex>0) { Session["kk"] = this.DropDownList1.SelectedValue.Trim( 阅读全文
posted @ 2020-02-05 12:42 侯伟东 阅读(250) 评论(0) 推荐(0) 编辑
摘要: protected void Button1_Click(object sender, EventArgs e) { if (this.DropDownList1.SelectedIndex > 0) { string xx = this.DropDownList1.SelectedValue.Tr 阅读全文
posted @ 2020-02-05 12:40 侯伟东 阅读(310) 评论(0) 推荐(0) 编辑
摘要: protected void Button3_Click(object sender, EventArgs e) { if (this.TextBox1.Text.ToString().Trim()=="101") { this.Button1.Visible = true; this.Button 阅读全文
posted @ 2020-02-05 12:35 侯伟东 阅读(135) 评论(0) 推荐(0) 编辑
摘要: protected void Button2_Click(object sender, EventArgs e) { FileInfo fi = new FileInfo(Server.MapPath(".") + @"\kk.xls"); if (fi.Exists) { fi.Delete(); 阅读全文
posted @ 2020-02-05 12:34 侯伟东 阅读(170) 评论(0) 推荐(0) 编辑
摘要: protected void Button1_Click(object sender, EventArgs e) { OleDbConnection conn = new OleDbConnection("provider=microsoft.jet.oledb.4.0;data source=|d 阅读全文
posted @ 2020-02-05 12:33 侯伟东 阅读(568) 评论(0) 推荐(0) 编辑