摘要:今天本来是要在网上找一个东西,但一不小心就找到了一个想了好久的方法,很好用,希望对大家有所帮助: 说白了,就是写一个MessageBox类,然后在里面写一个静态方法就可以了: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System...
阅读全文
摘要:首先是将View放入MultiView里,不要更改默认命名. 然后对TreeView添加节点,以下是它的aspx页面代码 : Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> ...
阅读全文
摘要:由于急于想体验ASP.net Ajax 效果,早早的把ToolKit下载来,结果运行时出现如下错误. 未能加载文件或程序集“System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35”或它的某一个依赖项。系统找不到指定的文件。 很明显的错误是缺少程序集. 解决办法: 1...
阅读全文
摘要: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...
阅读全文
摘要:现我们来看看代码: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->protected void Button1_Click(object sender, EventArgs e)//读取按钮事件 { this.GridView...
阅读全文
摘要:实现思路 利用Cache的功能,我们把用户的登录信息保存在Cache中,并设置过期时间为Session失效的时间,因此,一旦Session失效,我们的Cache也过期;而Cache对所有的用户都可以访问,因此,用它保存用户信息比数据库来得方便。 SingleLogin.aspx代码: Code highlighting produced by Actipro CodeHighlighter...
阅读全文
摘要:将以下代码放到中就可以了: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 搜索WWW 搜索YOUR DOMAIN NAME
阅读全文
摘要:一个简单的例子,希望能与大家共同讨论 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->create proc sp_submit_topic @topicId int, @content varchar(1000), @uid varchar...
阅读全文