上一页 1 ··· 65 66 67 68 69 70 71 72 73 ··· 101 下一页
摘要: 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 龙骑科技 阅读(2313) 评论(0) 推荐(0)
摘要: private void radioGroup_SelectedIndexChanged(object sender, EventArgs e) { switch (radioGroup.SelectedIndex) { //当天 case 0: { this.dateStart.DateTime 阅读全文
posted @ 2017-01-11 18:50 龙骑科技 阅读(433) 评论(0) 推荐(0)
摘要: 使用 DataGridView 控件的一种最常见方案是“主/详细信息”窗体,这样的窗体可显示两个数据库表之间的父/子关系。如果选择主表中的行,将导致以相应的子数据来更新详细信息表。 主/详细信息窗体很容易实现,这需要使用 DataGridView 控件和 BindingSource 组件之间的交互。 阅读全文
posted @ 2016-11-10 09:02 龙骑科技 阅读(961) 评论(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 龙骑科技 阅读(167) 评论(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 龙骑科技 阅读(9454) 评论(0) 推荐(0)
摘要: 一、引言 在软件开发过程中,有些对象有时候会由于网络或其他的障碍,以至于不能够或者不能直接访问到这些对象,如果直接访问对象给系统带来不必要的复杂性,这时候可以在客户端和目标对象之间增加一层中间层,让代理对象代替目标对象,然后客户端只需要访问代理对象,由代理对象去帮我们去请求目标对象并返回结果给客户端 阅读全文
posted @ 2016-10-26 09:38 龙骑科技 阅读(205) 评论(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 龙骑科技 阅读(322) 评论(0) 推荐(0)
摘要: 第一步: 添加并应用Log4net.dll。然后在Web.config文件中添加下面的配置局 <configSections> <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4n 阅读全文
posted @ 2016-10-24 15:03 龙骑科技 阅读(183) 评论(0) 推荐(0)
摘要: JSP中一共预先定义了9个这样的对象,分别为:request、response、session、application、out、pagecontext、config、page、exception 1、request对象 request 对象是 javax.servlet.httpServletReq 阅读全文
posted @ 2016-10-12 11:51 龙骑科技 阅读(402) 评论(0) 推荐(0)
摘要: import java.io.File;import java.io.FileNotFoundException;import java.io.FileOutputStream;import java.io.FileWriter;import java.io.IOException;import j 阅读全文
posted @ 2016-09-28 22:15 龙骑科技 阅读(68571) 评论(0) 推荐(2)
上一页 1 ··· 65 66 67 68 69 70 71 72 73 ··· 101 下一页