上一页 1 ··· 5 6 7 8 9
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2013-06-20 00:38 ha666 阅读(186) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2013-06-12 23:43 ha666 阅读(14762) 评论(0) 推荐(0) 编辑
摘要: golang连接mysql数据库,经过各种报错,目前已经顺利连接成功。代码: 1 package main 2 3 import ( 4 "database/sql" 5 "fmt" 6 _ "github.com/go-sql-driver/mysql" 7 ) 8 9... 阅读全文
posted @ 2013-06-05 01:06 ha666 阅读(12625) 评论(1) 推荐(0) 编辑
摘要: 公用类库:总共一个项目:Common 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace Common 8 { 9 public class SysInfo10 {11 public string CurrentTime { get; set; }12 }13 } 1 using System; 2 using System.C... 阅读全文
posted @ 2013-05-08 11:10 ha666 阅读(301) 评论(0) 推荐(0) 编辑
摘要: 1 using System.Runtime.Serialization.Json; 2 3 /// <summary> 4 /// 将对象转化为Json字符串 5 /// </summary> 6 /// <typeparam name="T">源类型</typeparam> 7 /// <param name="obj">源类型实例</param> 8 /// <returns>Json字符串</returns> 9 public static strin 阅读全文
posted @ 2013-05-03 18:13 ha666 阅读(299) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication1{ class Program { static void Main(string[] args) { Console.WriteLine("用百元钱买百只鸡,公鸡每只5元,母鸡每只3元,小鸡1元3只~那么它们各是几只?"); int max = 100; for (in... 阅读全文
posted @ 2013-04-25 17:40 ha666 阅读(245) 评论(0) 推荐(0) 编辑
摘要: 刚才在网上看到一个题目:4.有一个字符串 "I am a good man",设计一个函数,返回 "man good a am I"。我写了一段代码,未经优化,。 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 6 namespace ConsoleApplication1 7 { 8 class Program 9 {10 static void Main(string[] args)11 {12 ... 阅读全文
posted @ 2013-04-21 22:59 ha666 阅读(2173) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2013-04-19 23:19 ha666 阅读(53) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2013-04-19 23:16 ha666 阅读(268) 评论(0) 推荐(1) 编辑
上一页 1 ··· 5 6 7 8 9
ha666@ha666.com