摘要:
今天遇到的,发出来,说不定啥时候再遇到了.先放上ajax请求方法.参数fun 为处理返回结果的方法.function test( fun) { $.ajax({ url: 'Default.aspx, type: 'post', dataType: 'text', error: function (msg) { fun("110"); }, success: function (msg) { alert("err"); } });}为了演示 ,加上了 System.Threading.Thread.Sleep(30 阅读全文
摘要:
参考:CentOS 7 上部署Mono 4 和Jexus 5.6系统:Centos 7 64位Mono包并没有包含在CentOS的仓库里,我们需要把Mono的仓库导入到包仓库里sudorpm --import "http://keyserver.ubuntu.com/pks/lookup?op=ge... 阅读全文
摘要:
class a { public static int A; static a() { A = b.B + 1; } } class b { public static int B = a.A + 1; static void Main(string[] args) { Console.WriteLine(a.A+"-------------"+b.B); } }1--------... 阅读全文