上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 58 下一页
摘要: <script type="text/javascript"> //功能:将回车键转tab键 jQuery(function () { jQuery('input:text:first').focus(); var $inp = jQuery('input:text'); $inp.bind('keydown', function (e) { var key = e.which; if (key == 13) { e.preventDefault(); var nxtIdx = $inp.index(this) + 阅读全文
posted @ 2012-12-06 16:19 清山博客 阅读(1815) 评论(0) 推荐(0)
摘要: 版权声明:本文为博主原创文章,未经博主允许不得转载。 阅读全文
posted @ 2012-12-06 16:19 清山博客 阅读(90) 评论(0) 推荐(0)
摘要: 1.调用代码入口:using System; namespace 图_图的遍历 { internal class Program { private static void Main(string[] args) { var a = new AdjacencyList<char>(); Console.WriteLine("1.初始化树结构:"); Console.WriteLine("================================="); ... 阅读全文
posted @ 2012-12-03 13:22 清山博客 阅读(334) 评论(0) 推荐(0)
摘要: 程序调用入口:using System; namespace Graphic_AdjacencyList { internal class Program { private static void Main(string[] args) { var adjacencyList = new AdjacencyList<char>(); Console.WriteLine("1.初始化树结构:"); Console.WriteLine("=================... 阅读全文
posted @ 2012-12-02 20:39 清山博客 阅读(428) 评论(0) 推荐(0)
摘要: using System; using System.Net; using System.Text; using System.Text.RegularExpressions; internal class Program { // 获取网页的HTML内容,根据网页的charset自动判断Encoding public static string GetHtml(string url) { return GetHtml(url, null); } // 获取网页的HTML内容,指定Encoding private static... 阅读全文
posted @ 2012-11-28 13:54 清山博客 阅读(406) 评论(0) 推荐(0)
摘要: // 方法 1this.historyRichTextBox.Focus();this.historyRichTextBox.Select(historyRichTextBox.TextLength,0);this.historyRichTextBox.ScrollToCaret();// 方法 2richTextBox1.SelectionStart = richTextBox1.TextLength;richTextBox1.Focus(); 阅读全文
posted @ 2012-11-22 20:12 清山博客 阅读(582) 评论(0) 推荐(0)
摘要: 问题一描述:SQL Server数据库备份还原后,在数据库名称后会出现“受限制访问”字样问题二描述:在对SQL Server数据库进行还原时,提示:System.Data.SqlClient.SqlError:因为数据库正在使用,所以无法获得对数据库的独占访问权。(Microsoft.SqlServer.Smo)。出现此问题的原因是在还原数据库时,有其他用户正在使用数据库。还原数据库要求数据库工作在单用户模式。通常就是DBA在操作时,不允许其他用户连接数据库。问题一解决办法: 右键点击数据库 -> 属性 -> 选项 -> 状态 -> 限制访问 -> 选择Multi 阅读全文
posted @ 2012-11-21 19:29 清山博客 阅读(3882) 评论(0) 推荐(0)
摘要: 叔本华是德国著名哲学家,唯意志主义和现代悲观主义创始人。《人生的智慧》是叔本华写于1850年的晚期著作,正是这本书使叔本华成为享誉世界的哲学家。在这本书中他以“优雅的文体”,暂时撇开了唯意志论的悲观主义人生哲学,从世俗的角度探讨了人生应遵循的原则。该译本是我国第一部从德文版译出的全译本。好书,值得一读。PDF下载 Wrod下载 阅读全文
posted @ 2012-11-17 13:32 清山博客 阅读(1130) 评论(0) 推荐(0)
摘要: 这个问题看似很简单,但是确实有时候也有必要拿出来给大家看。 <input id="btnShow" type="button" value="点击" class="btn"> 上面是一段按钮的html代码 1.原生的js方式:document.getElementByIdx_x_x("btnShow").disabled=true;//这样就把按钮禁用了,如果要重新开启按钮,则可以让disabled=false;即可. 2.jQuery方式:$("#btnShow" 阅读全文
posted @ 2012-11-08 21:02 清山博客 阅读(3203) 评论(0) 推荐(0)
摘要: 出现名为'MM_CURSOR' 的游标已存在。一般出现这样的问题是:1:游标没有 --关闭 释放如:Sql代码--关闭游标CLOSEMM_CURSOR--释放游标DEALLOCATEMM_CURSOR2:游标已存在同名情况,此时就需要在定义游标时申明一个局部的游标如:Sql代码/*检索已经配置好的新村镇的所有乡级部门*/---申明游标DECLAREdeptCursorCURSORlocalFORSELECTdeptname,deptsimplename,distid,deptuncode,deptqueryno,ifreport,deptsort,enable,deptfloo 阅读全文
posted @ 2012-11-03 10:25 清山博客 阅读(734) 评论(0) 推荐(0)
上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 58 下一页