解决mysql“Access denied for user 'root'@'localhost'” 分类: linux 2011-01-14 00:23 147547人阅读 评论(3) 收藏 举报 mysqluseraccessmanager数据库system# mysql -uroot -...
分类:
数据库 时间:
2015-03-16 22:51:56
阅读次数:
215
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace ConsoleApplication1{ cla...
UserModule类:using System;using System.Collections.Generic;using System.Linq;using System.Text;using Autofac;using You.Niao.User.IDAL;namespace You.Nia...
分类:
其他好文 时间:
2015-03-16 22:46:59
阅读次数:
137
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u...
分类:
其他好文 时间:
2015-03-16 22:42:05
阅读次数:
151
1、修改 Migrations/Configuration.cs 文件 1 namespace DataModel.Migrations 2 { 3 using System; 4 using System.Data.Entity; 5 using System.Data.E...
分类:
数据库 时间:
2015-03-16 22:40:40
阅读次数:
215
思路: 建立最小生成树的图,之后进行枚举边(两点)。然后去掉原来生成树上的边。 去掉一条遍之后,原图为两棵树。A - 分别为两棵树中的最大人口和B - 生成树边长之和减去一条生成树边的长度。 1 #include 2 #include 3 #include 4 #include 5 #in...
分类:
其他好文 时间:
2015-03-16 22:40:12
阅读次数:
169
program.csusing System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace hello{ class Pro...
分类:
其他好文 时间:
2015-03-16 22:35:04
阅读次数:
118
最近通过学校C#课程了解了一些关于C#的最基础应用。按照老师课堂的讲解,课下自己进行了一些相关的联系。 首先,是利用System.Console.WriteLine (" ");这一语句进行简单的文本输出。同时配合着Console下的foregroundColor和BackgroundColo...
VS下载安装速度之慢我已不想吐槽,正式开始吧!1.新建一个项目:2.选择模板:Visual C# -->控制台应用程序,还可以为自己的项目重新命名、设定储存位置。3.模板出来啦! 1 using System; 2 using System.Collections.Generic; 3 usin.....
分类:
其他好文 时间:
2015-03-16 21:09:22
阅读次数:
238
Problem 1005 问题:一堆石头划分问题,将一堆石头划分成两堆,使这两堆石头之间的重量差最小。 输入:第一行---石头的总数量(1~20) 第二行---各石头的重量,之间用空格间隔(每个石头重量在1~100000) 输出:两堆石头最小的重量差。 实现代码: using System; nam...
分类:
其他好文 时间:
2015-03-16 21:04:49
阅读次数:
222