做最好的自己~~

Be My Personal Best!

导航

2008年10月9日 #

转:C# 导入EXCEL到sql server数据库(Web开发)

摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System; using System.Data; using System.Configuration; using System.Collections; using System.We... 阅读全文

posted @ 2008-10-09 16:23 阿万 阅读(1337) 评论(0) 推荐(0) 编辑

将Excl 中的数据读入到GridView中

摘要: 现我们来看看代码: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->protected void Button1_Click(object sender, EventArgs e)//读取按钮事件 { this.GridView... 阅读全文

posted @ 2008-10-09 16:11 阿万 阅读(435) 评论(0) 推荐(0) 编辑

转:在ASP.NET 中实现单点登录(利用Cache, 将用户信息保存在服务器缓存中)

摘要: 实现思路 利用Cache的功能,我们把用户的登录信息保存在Cache中,并设置过期时间为Session失效的时间,因此,一旦Session失效,我们的Cache也过期;而Cache对所有的用户都可以访问,因此,用它保存用户信息比数据库来得方便。 SingleLogin.aspx代码: Code highlighting produced by Actipro CodeHighlighter... 阅读全文

posted @ 2008-10-09 13:19 阿万 阅读(981) 评论(0) 推荐(0) 编辑

在你的网页中插入Google搜索功能 代码

摘要: 将以下代码放到中就可以了: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 搜索WWW 搜索YOUR DOMAIN NAME 阅读全文

posted @ 2008-10-09 11:40 阿万 阅读(1123) 评论(1) 推荐(0) 编辑