上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 47 下一页

MSSQL - 备份和还原数据库

摘要: SQL语句备份和还原数据库:http://blog.csdn.net/liuhelong/article/details/33356871、MSSQL - SqlServer:此数据库处于单用户模式,导致数据库无法删除的处理2、MSSQL - 尚未备份数据库 xxxx 的日志尾部。如果该日志包含您不... 阅读全文
posted @ 2015-06-02 17:35 ultrastrong 阅读(753) 评论(0) 推荐(0)

C# - GUID

摘要: 1、C# GUID的使用:http://www.cnblogs.com/pato/archive/2010/01/09/1643008.html2、C#中使用GUID:http://www.cnblogs.com/dongqi/archive/2008/10/13/1310128.html3、C#中... 阅读全文
posted @ 2015-06-01 23:48 ultrastrong 阅读(166) 评论(0) 推荐(0)

MSSQL - 创建新用户

摘要: 1、首先使用Windows身份验证登陆。2、然后一次打开:安全性--->登录名、右键登录名,点击新建登录名。3、常规选项卡下:填写登录名、选择SQL Server身份验证,填写登录名密码、取消强制实施密码策略、选择默认数据库。4、服务器角色选项卡:选择服务器角色。5、用户映射选项卡:选择此创建的用户... 阅读全文
posted @ 2015-05-28 20:49 ultrastrong 阅读(1834) 评论(0) 推荐(0)

C# - 简单工厂模式

摘要: 代码: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace 简单工厂模... 阅读全文
posted @ 2015-05-28 12:26 ultrastrong 阅读(168) 评论(0) 推荐(0)

C# - Byte类型与String类型互转

摘要: 1 byte[] bs = Encoding.UTF8.GetBytes("你的字符串");2 string str = Encoding.UTF8.GetString(bs); 阅读全文
posted @ 2015-05-27 17:24 ultrastrong 阅读(252) 评论(0) 推荐(0)

C# - 事件

摘要: /// /// 自定义事件-步骤: /// 1、声明关于事件的委托 /// 2、声明事件 /// 3、编写触发事件的方法 /// 4、创建事件处理程序 /// 5、注册事件处理程序 /// 6、在适当的条件下出发事件 /// Dog.cs代码: 1... 阅读全文
posted @ 2015-05-24 16:38 ultrastrong 阅读(166) 评论(0) 推荐(0)

C# - 委托_ 匿名方法

摘要: 代码: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace 委托_例子... 阅读全文
posted @ 2015-05-24 16:05 ultrastrong 阅读(235) 评论(0) 推荐(0)

C# - 委托_求定积分通用方法

摘要: 代码: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace 委托_例子... 阅读全文
posted @ 2015-05-24 15:46 ultrastrong 阅读(851) 评论(0) 推荐(0)

C# - 接口的继承

摘要: 代码: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespac... 阅读全文
posted @ 2015-05-24 14:52 ultrastrong 阅读(294) 评论(0) 推荐(0)

C# - 接口

摘要: 微软认为,接口就是一个规范,只说不做,那么就意味着,他的成员必须由子类来实现,也就意味着,在接口中的成员必须是公共的和抽象的。接口就是一个抽象类,通过查看源码知道的;实现接口的成员,并不是来重写,实现之后的接口的成员就是类的成员;接口的方法只能通过接口对象来调用。什么时候接口对象---所谓的接口对象... 阅读全文
posted @ 2015-05-24 14:19 ultrastrong 阅读(211) 评论(0) 推荐(0)
上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 47 下一页