上一页 1 ··· 14 15 16 17 18
摘要: namespace dal { public class oledo { private olehelp olehelpex; public oledo() { olehelpex = new olehelp(); } /// ... 阅读全文
posted @ 2013-02-24 19:54 侯伟东 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 循序渐进很重要 阅读全文
posted @ 2013-02-21 21:19 侯伟东 阅读(178) 评论(0) 推荐(0) 编辑
摘要: namespace dal { public class olecado { private olehelp olehelper; public olecado() { olehelper = new olehelp(); } ///... 阅读全文
posted @ 2013-02-21 21:16 侯伟东 阅读(176) 评论(0) 推荐(0) 编辑
摘要: Page.ClientScript.RegisterStartupScript(Page.GetType(), "message", "<script language='javascript' defer>alert('上传成功!');</script>"); 阅读全文
posted @ 2013-02-20 20:12 侯伟东 阅读(159) 评论(0) 推荐(0) 编辑
摘要: private String HtmlCode(string TString) { if (TString != null) { TString = TString.Replace("\r", "<br>"); TString = TString.Replace(" ", " "); ... 阅读全文
posted @ 2013-02-20 20:07 侯伟东 阅读(230) 评论(0) 推荐(0) 编辑
摘要: namespace dal { public class olehelp { private OleDbConnection conn = null; private OleDbCommand cmd = null; private OleDbDataReader oddr = null; public olehelp() { conn = new OleDbConnection(ConfigurationManager.AppSettings["connstring"].ToString()); } privat... 阅读全文
posted @ 2013-02-19 21:31 侯伟东 阅读(228) 评论(0) 推荐(0) 编辑
摘要: protected void Button1_Click(object sender, EventArgs e) { if (FileUpload1.PostedFile.FileName == "") { Page.ClientScript.RegisterStartupScript(Page.GetType(), "message"... 阅读全文
posted @ 2013-02-14 19:27 侯伟东 阅读(377) 评论(0) 推荐(0) 编辑
摘要: protected void btnfileup_Click(object sender, EventArgs e) { try { if (FileUpload1.PostedFile.FileName == "") { Page.ClientScript... 阅读全文
posted @ 2013-02-14 12:12 侯伟东 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 首先在web.config中添加: <system.web> <httpRuntime maxRequestLength="40960" executionTimeout="6000"/> </system.web> 提交按钮的代码如下 protected void btnfileup_Click(object sender, EventArgs e) {... 阅读全文
posted @ 2013-02-14 11:38 侯伟东 阅读(193) 评论(0) 推荐(0) 编辑
上一页 1 ··· 14 15 16 17 18