码迷,mamicode.com
首页 >  
搜索关键字:system    ( 49231个结果
可以修改Autocomplete高度和宽度的TextBox.(ComboBox也试用)
Imports System.ComponentModelImports System.Runtime.InteropServicesImports System.TextPublic Class TextBoxEx Inherits TextBox Private acDropDown...
分类:其他好文   时间:2015-05-08 19:51:08    阅读次数:127
装箱、拆箱练习
【示例代码】 1 using System; 2 //Point is a Value Type 3 internal struct Point { 4 private Int32 m_x, m_y; 5 6 public Point(Int32 x,Int32 y){ 7 ...
分类:其他好文   时间:2015-05-08 17:57:49    阅读次数:113
EF-InvalidOperation系列
1.InvalidOperation强制转换为值类型 'System.Guid' 失败,因为实例化的值为 null。结果类型的泛型参数或查询必须使用可以为 null 的类型错误信息:The cast to value type 'System.Guid' failed because the mat...
分类:其他好文   时间:2015-05-08 17:47:16    阅读次数:162
数据访问----事务实例
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 using System.Da...
分类:其他好文   时间:2015-05-08 16:26:54    阅读次数:178
【C#】多幅图片写入字符串string,分隔存储
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Drawing; using System.Drawing.Imaging; namespace 图片转化为字符串 { class Program {...
分类:Windows程序   时间:2015-05-08 15:02:01    阅读次数:148
unity3d中加密保存本地存档
unity中提供了PlayerPrefs来存储和读取本地的存档,根据unity的文档显示,很容易就能找到这些信息存储的位置 而且是明文的,很容易就看懂了 也可以修改,如何避免这种情况了,不如就加密一下吧,打字太累 直接上代码,需要的朋友拿走吧,当然加密的Key自己设定好了using System; using System.IO; using System.Security.Cryptograph...
分类:编程语言   时间:2015-05-08 14:58:28    阅读次数:198
mysql 5.6 的一些限制
Limits in MySQL 5.6 Sql Join 限制:     数据库及表数量限制: Mysql 数据库的表(table)大小一般由操作系统单个文件大小限制决定,并不是由mysql 内核决定; 常见os机器文件大小限制: Operating System File-size Limit Win32 w/ FAT/FAT32 ...
分类:数据库   时间:2015-05-08 14:58:03    阅读次数:132
VS中,using和“添加引用”的区别
引用表示你可以使用这个程序集了,而加上一个using,是为了方便你使用这个程序集,不用写全名。  如:  引用 System.Windows.Form 后,你可以使用 MessageBox.Show() 方法 ; 但是在你 using System.Windows.Form 前,你必须这样用:  System.Windows.Form.MessageBox.Show()  当你在代码前加...
分类:其他好文   时间:2015-05-08 14:53:35    阅读次数:124
ashx中使用session
1、using System.Web.SessionState;2、实现接口IRequiresSessionStatepublic class Handler : IHttpHandler,IRequiresSessionState{ string code =context.Session["c....
分类:其他好文   时间:2015-05-08 14:40:24    阅读次数:78
数据访问----实例4
方法1: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 using Syste...
分类:其他好文   时间:2015-05-08 14:36:42    阅读次数:129
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!