上一页 1 ··· 64 65 66 67 68 69 70 71 72 ··· 101 下一页
摘要: 第一种 public class OperateMAC{ public static string GetMacByWMI() { string MacAddr = null; //ManagementObjectSearcher Query = new ManagementObjectSearch 阅读全文
posted @ 2017-03-28 22:15 龙骑科技 阅读(717) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Runtime.Serialization;using System.ServiceModel;using System.ServiceModel 阅读全文
posted @ 2017-03-28 22:14 龙骑科技 阅读(865) 评论(0) 推荐(0)
摘要: 1、 数据绑定的问题 在使用数据绑定时,一般使用 ObservableCollection<T> 类,不使用list列表集合,因为list数据发生变化时,UI界面不更新,而ObservableCollection<T> 类表示一个动态数据集合,在添加项、移除项或刷新整个列表时,此集合将提供通知(原理 阅读全文
posted @ 2017-03-22 16:42 龙骑科技 阅读(1480) 评论(0) 推荐(0)
摘要: 1 判断数据库是否存在 if exists (select * from sys.databases where name = '数据库名') drop database [数据库名] 2 判断表是否存在 if exists (select * from sysobjects where id = 阅读全文
posted @ 2017-02-22 18:44 龙骑科技 阅读(2307) 评论(0) 推荐(0)
摘要: private void radioGroup_SelectedIndexChanged(object sender, EventArgs e) { switch (radioGroup.SelectedIndex) { //当天 case 0: { this.dateStart.DateTime 阅读全文
posted @ 2017-01-11 18:50 龙骑科技 阅读(429) 评论(0) 推荐(0)
摘要: 使用 DataGridView 控件的一种最常见方案是“主/详细信息”窗体,这样的窗体可显示两个数据库表之间的父/子关系。如果选择主表中的行,将导致以相应的子数据来更新详细信息表。 主/详细信息窗体很容易实现,这需要使用 DataGridView 控件和 BindingSource 组件之间的交互。 阅读全文
posted @ 2016-11-10 09:02 龙骑科技 阅读(955) 评论(0) 推荐(0)
摘要: using System.Runtime.Serialization; using System.ServiceModel; using MySpace; using System.ServiceModel.Channels; using System; namespace MySpace { [D 阅读全文
posted @ 2016-11-09 09:02 龙骑科技 阅读(166) 评论(0) 推荐(0)
摘要: JOIN 分为:内连接(INNER JOIN)、外连接(OUTER JOIN)。其中,外连接分为:左外连接(LEFT OUTER JOIN)、右外连接(RIGHT OUTER JOIN)、全外连接(FULL OUTER JOIN),其中外连接的“OUTER”关键字可以省略不写。例: 表A有列ID,值 阅读全文
posted @ 2016-11-03 07:52 龙骑科技 阅读(9450) 评论(0) 推荐(0)
摘要: 一、引言 在软件开发过程中,有些对象有时候会由于网络或其他的障碍,以至于不能够或者不能直接访问到这些对象,如果直接访问对象给系统带来不必要的复杂性,这时候可以在客户端和目标对象之间增加一层中间层,让代理对象代替目标对象,然后客户端只需要访问代理对象,由代理对象去帮我们去请求目标对象并返回结果给客户端 阅读全文
posted @ 2016-10-26 09:38 龙骑科技 阅读(203) 评论(0) 推荐(0)
摘要: 1.DDL(Data Definition Language)数据库定义语言statements are used to define the database structure or schema. DDL是SQL语言的四大功能之一。 用于定义数据库的三级结构,包括外模式、概念模式、内模式及其相 阅读全文
posted @ 2016-10-24 17:55 龙骑科技 阅读(320) 评论(0) 推荐(0)
上一页 1 ··· 64 65 66 67 68 69 70 71 72 ··· 101 下一页