1.SqlServer中out处理 C#代码 #region"SqlServer中存储过程处理out返回值" //public void getdata() //{ // string str = " server=192.168.xxxx ;use...
分类:
数据库 时间:
2014-07-16 22:55:05
阅读次数:
214
#region 类说明//-----------------------------------------------------------------------------//// 项目名称:***// 文件名称:DBBakManager.cs// 文件说明:对数据库备份文件进行管理。提供备...
分类:
数据库 时间:
2014-07-16 22:54:03
阅读次数:
164
主管可以看下属的数据,这个是经常用到的一个权限,不管是大公司,还是小公司都需要的功能。通过以下2个方法,可以任意达到想要的效果了,设置简单灵活,还能递归运算下属,有时候简单好用就是硬道理。 #region public List public List GetListByManager...
分类:
Web程序 时间:
2014-07-16 20:06:04
阅读次数:
207
#region 回车键当Tab键使用 private void enter_KeyPress(object sender, KeyPressEventArgs e) { foreach (Control c in this.Controls) { c.KeyPress += new System.W...
分类:
其他好文 时间:
2014-07-14 08:09:07
阅读次数:
240
#region 文本框和列表框的click事件 private void tbORcbb_click(object sender, EventArgs e) { if (typeof(TextBox).IsInstanceOfType(sender)) { if (!ifSelected) { ((...
分类:
其他好文 时间:
2014-07-14 08:01:18
阅读次数:
195
1 #region get护理单记录信息XML 2 //将XML文件保存到DataTable 3 private DataTable FromXML2DataTable(string XMLStr,string data_h,string data_...
原文:C# 实现 Hyper-V 虚拟机 管理Hyper-V WMI Provider工具类如下:using System;using System.Collections.Generic;using System.Management;namespace MyNamespace{ #region ...
分类:
其他好文 时间:
2014-07-12 13:04:49
阅读次数:
193
在用region时有时候会出错,于是自己测试了下代码:Ext.onReady(function(){ var viewport = new Ext.Viewport({ layout:'border', //html: '第二步,一共4步', items...
分类:
其他好文 时间:
2014-07-11 21:30:59
阅读次数:
226
#region 检测CCD驱动是否安装成功 string path = @"C:\WINDOWS\system32\drivers\UsbCamIF.sys"; //驱动的默认安装地址 if (File.Exists(path)) {...
分类:
其他好文 时间:
2014-07-11 11:59:29
阅读次数:
278
一。介绍 聚合函数如SUM, COUNT, MAX, AVG等。这些函数和其它函数的根本区别就是它们一般作用在多条记录上。而通过使用GROUP BY子句,可以让SUM 和 COUNT 这些函数对属于一组的数据起作用。当你指定 GROUP BY region 时,只有属于同一个region的一组...
分类:
数据库 时间:
2014-07-09 15:13:19
阅读次数:
217