土豆烧牛肉

导航

 

2015年4月7日

摘要: 前阵子,刚安装Ubuntu时,安装vim的问题,现在些出来分享一下。apt-get install vim正在读取软件包列表... 完成正在分析软件包的依赖关系树正在读取状态信息... 完成有一些软件包无法被安装。如果您用的是不稳定(unstable)发行版,这也许是因为系统无法达到您要求的状态造成... 阅读全文
posted @ 2015-04-07 19:11 土豆烧牛肉 阅读(528) 评论(0) 推荐(0) 编辑
 

2015年1月21日

摘要: 对于初学者来书,经常会碰到下面的错误:no such file or directoryerror提示找不到文件,这时候就需要将文件放到工作目录下,或者直接修改工作目录到文件所在位置。右键ERlang启动图标——属性——修改起始位置现在工作目录已经改变,启动ERlang程序 输入 pwd(). ... 阅读全文
posted @ 2015-01-21 23:09 土豆烧牛肉 阅读(180) 评论(0) 推荐(0) 编辑
 
摘要: 我的电脑配置:系统:win8.1 x64内存:16G在官网下载http://www.erlang.org/ 阅读全文
posted @ 2015-01-21 23:01 土豆烧牛肉 阅读(285) 评论(0) 推荐(0) 编辑
 

2015年1月20日

摘要: 打开word 按住alt+F11 进入vba 界面Sub test()Dim MyBk As BookmarkFor Each MyBk In ActiveDocument.Bookmarks MyBk.DeleteNextEnd Sub 阅读全文
posted @ 2015-01-20 16:52 土豆烧牛肉 阅读(749) 评论(0) 推荐(0) 编辑
 

2014年6月30日

摘要: public static string GetObjectPropertyValue(T t, string propertyname){Typetype =typeof(T);PropertyInfoproperty = type.GetProperty(propertyname);if (pr... 阅读全文
posted @ 2014-06-30 17:37 土豆烧牛肉 阅读(353) 评论(0) 推荐(0) 编辑
 

2014年5月31日

摘要: //扩展Array,增加IsInAyyay函数。函数功能:判断数组是否包含某元素Array.prototype.IsInAyyay=function(e) { for (var i=0;i 1) { monthData += ','; } if (i == nowMonth) { selected... 阅读全文
posted @ 2014-05-31 16:21 土豆烧牛肉 阅读(148) 评论(0) 推荐(0) 编辑
 
摘要: js访问c#代码1js c# public void test(){...}2、C#调用前台JS方法 this.Page.ClientScript.RegisterStartupScript(this.GetType(), "js", "ShowMaterialManager('" + url + ... 阅读全文
posted @ 2014-05-31 16:18 土豆烧牛肉 阅读(189) 评论(0) 推荐(0) 编辑
 
摘要: 1.两个单引号转为一个单引号example: select * from tb where name=''' '2.如果出现 "_","%" 需要用 [] 括起来 阅读全文
posted @ 2014-05-31 16:02 土豆烧牛肉 阅读(2057) 评论(0) 推荐(0) 编辑
 

2013年12月26日

摘要: public DataTable GenerateData(int NoOfRecord){DataTable tbl = new DataTable();tbl.Columns.Add(new DataColumn("ID", Type.GetType("System.Int32")));tbl.Columns.Add(new DataColumn("Food Name", Type.GetType("System.String")));tbl.Columns.Add(new DataColumn("D 阅读全文
posted @ 2013-12-26 16:38 土豆烧牛肉 阅读(156) 评论(0) 推荐(0) 编辑
 

2013年7月12日

摘要: 在WINDOWS7或SERVER2008上安装了IIS7.5,调试ASP程序时出现以下错误: An error occurred on the server when processing the URL. Please contact the system administrator 解决方法如下: 设置方法一: 以管理员身份运行CMD,将目录定位到%windir%\system32\inetsrv\,然后执行appcmd set config -section:asp -scriptErrorSentToBrowser:true。 %windir%\system32\inetsrv\app 阅读全文
posted @ 2013-07-12 18:20 土豆烧牛肉 阅读(199) 评论(0) 推荐(0) 编辑