码迷,mamicode.com
首页 >  
搜索关键字:system center 2012、virtual machine manager    ( 70217个结果
LINQ to Entities 不识别方法“Int32 Parse(System.String)”,因此该方法无法转换为存储表达式。解决
问题描述最近在用LINQ to Entities,看看下面的代码//获取分页数据 var admins = from aa in db.VAccountAdmins select aa; //处理过滤规则 if (null != filterRules) ...
分类:其他好文   时间:2014-05-12 16:40:23    阅读次数:306
C#产生不重复随机数
static int GetRandomSeed( ){byte[] bytes = new byte[4];System.Security.Cryptography.RNGCryptoServiceProvider rng = new System.Security.Cryptography.RN...
分类:其他好文   时间:2014-05-12 16:10:44    阅读次数:269
连接Oracle数据库的OracleHelper.cs
using System;using System.Configuration;using System.Data;using System.Data.OracleClient;using System.Collections;namespace DBUtility { /// ///...
分类:数据库   时间:2014-05-12 16:09:43    阅读次数:493
C# 常用日期函数
我想知道取的时期是几月、几日,然后做一些统计,上网找了一些方法。--DateTime 数字型 System.DateTime currentTime=new System.DateTime(); 1.1 取当前年月日时分秒 currentTime=System.DateTime.Now; 1.2 取...
分类:其他好文   时间:2014-05-12 15:45:59    阅读次数:259
centos 分辨率设置
最近又实验安装了centos 5.8,装完后启动,界面太差了,看着费劲。百度一查,原来是分辨率的问题。下面是分辨率设置方法。“系统->管理->显示“(英文版本的是system->adminstaration->display),打开后,hardware的monitor type 选择你的显示器对应类...
分类:其他好文   时间:2014-05-02 17:07:22    阅读次数:533
MariaDB 10 (MySQL DB) 多主复制并实现读写分离
----本文大纲简介资源配置拓扑图实现过程====================一、简介MMM 即Master-Master Replication Manager for MySQL(mysql主主复制管理器)关于mysql主主复制配置的监控、故障转移和管理的一套可伸缩的脚本套件(在任何时候只有...
分类:数据库   时间:2014-05-02 15:53:39    阅读次数:471
类属性不能写在try{}catch(){}里面
public class cal{public static void main(String[] args){calculator ca=new calculator();byte[] first=new byte[4];byte[] second=new byte[4];System.out.p...
分类:其他好文   时间:2014-05-02 15:23:23    阅读次数:395
characterCustomezition的资源打包代码分析
using System.Collections.Generic;using System.IO;using UnityEditor;using UnityEngine;class CreateAssetbundles{ // This method creates an assetbundl...
分类:其他好文   时间:2014-05-02 14:55:17    阅读次数:346
IIS7.5 自定义Html/shtml/htm...后缀映射
以添加html后缀的文件的 映射为例:1.打开iis管理器,点击2.点击打开处理程序映射3.添加托管处理程序映射4.请求路径 *.html 类型:System.Web.UI.PageHandlerFactory 名称:Html-Integrate 确定5.添加处理脚本映射6.请求路径 *.ht...
分类:Web程序   时间:2014-05-02 14:07:40    阅读次数:671
去除win7 64位系统桌面图标小箭头
去除win7电脑系统桌面图标的快捷方式的小箭头: 首先在桌面新建一个文本文档,设为去除箭头.txt,第二步,把如下代码粘贴到文档中。 reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" /v 29 /d "%systemroot%\system32\image...
分类:Windows程序   时间:2014-05-02 10:15:48    阅读次数:570
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!