会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
侯伟东
如有恒,何须三更起,半夜眠;最怕莫,三天打鱼两天晒网,竹篮打水一场空。
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
14
15
16
17
18
19
下一页
2013年2月25日
dataset()数据输出
摘要: ds.Tables[0].Rows[0]["c5"]
阅读全文
posted @ 2013-02-25 15:42 侯伟东
阅读(299)
评论(0)
推荐(0)
2013年2月24日
连接字符串
摘要: 电子表格: string conn = "Provider=Microsoft.jet.OLEDB.4.0;Data Source=" + Server.MapPath("book1.xls") + ";Extended Properties=Excel 8.0;"; OleDbConnection oleconn = new OleDbConnection(conn); OleDbConnection conn = new OleDbConnection("provider=Microsoft.jet.oledb.4.0;
阅读全文
posted @ 2013-02-24 20:18 侯伟东
阅读(199)
评论(0)
推荐(0)
信息内容操作类
摘要: namespace dal { public class oledo { private olehelp olehelpex; public oledo() { olehelpex = new olehelp(); } /// ...
阅读全文
posted @ 2013-02-24 19:54 侯伟东
阅读(161)
评论(0)
推荐(0)
2013年2月21日
循序渐进,重要
摘要: 循序渐进很重要
阅读全文
posted @ 2013-02-21 21:19 侯伟东
阅读(187)
评论(0)
推荐(0)
类别操作.类
摘要: namespace dal { public class olecado { private olehelp olehelper; public olecado() { olehelper = new olehelp(); } ///...
阅读全文
posted @ 2013-02-21 21:16 侯伟东
阅读(182)
评论(0)
推荐(0)
2013年2月20日
常用的提示语句
摘要: Page.ClientScript.RegisterStartupScript(Page.GetType(), "message", "<script language='javascript' defer>alert('上传成功!');</script>");
阅读全文
posted @ 2013-02-20 20:12 侯伟东
阅读(170)
评论(0)
推荐(0)
标签换行显示文本
摘要: private String HtmlCode(string TString) { if (TString != null) { TString = TString.Replace("\r", "<br>"); TString = TString.Replace(" ", " "); ...
阅读全文
posted @ 2013-02-20 20:07 侯伟东
阅读(244)
评论(0)
推荐(0)
2013年2月19日
ole辅助类-sqlhelper-access
摘要: 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 侯伟东
阅读(235)
评论(0)
推荐(0)
2013年2月14日
上传图片文件并显示图片
摘要: protected void Button1_Click(object sender, EventArgs e) { if (FileUpload1.PostedFile.FileName == "") { Page.ClientScript.RegisterStartupScript(Page.GetType(), "message"...
阅读全文
posted @ 2013-02-14 19:27 侯伟东
阅读(393)
评论(0)
推荐(0)
上传文件,比较完善
摘要: protected void btnfileup_Click(object sender, EventArgs e) { try { if (FileUpload1.PostedFile.FileName == "") { Page.ClientScript...
阅读全文
posted @ 2013-02-14 12:12 侯伟东
阅读(164)
评论(0)
推荐(0)
上一页
1
···
14
15
16
17
18
19
下一页
公告