虫虫首页|资源下载|资源专辑|精品软件
登录|注册

Private

  • 重写了微软提供SQLHelper(共用的数据库调用接口) 1把SqlHelper的connectionString做成一个全局量

    重写了微软提供SQLHelper(共用的数据库调用接口) 1把SqlHelper的connectionString做成一个全局量,统一设置数据库连接字符串 2增加了返回特定表名的DataSet的各接口。 可在项目的config文件设置数据库连接字符串 Private static string connectionString = System.Configuration.ConfigurationSettings.AppSettings["ConnectionString"] <!-- application specific settings --> <appSettings> <add key="ConnectionString" value="packet size=4096 user id=sa data source=localhost persist security info=True initial catalog=NorthWind password= "/> </appSettings> 当然可以把数据库连接方法修改后直接用。

    标签: connectionString SQLHelper SqlHelper 微软

    上传时间: 2013-12-12

    上传用户:钓鳌牧马

  • WebServices_WebSphere_Version_5 Objectives § Web Services Overview • What are Web Services?

    WebServices_WebSphere_Version_5 Objectives § Web Services Overview • What are Web Services? • Roles and Functions of Web Services § Web Services Runtime • Base Support • IBM WebSphere UDDI Registry (Private UDDI) • Web Services Gateway (WSGW) § Problem Determination § Web Services Security § Technical Previews § Summary

    标签: Services WebServices_WebSphere_Version Objectives Web

    上传时间: 2015-06-15

    上传用户:cx111111

  • 第三章列出了Windows CE執行緒在排程時的幾個主要函數

    第三章列出了Windows CE執行緒在排程時的幾個主要函數,在本章中將藉著分析這些函數的流程,來了解執行緒在排程過程中的行為。本章所節選的程式碼全部來自[CEROOT]\Private\WINCEOS\COREOS\NK\KERNEL目錄下的 schedule.c檔

    标签: Windows

    上传时间: 2015-07-01

    上传用户:xiaodu1124

  • KVM (for Kernel-based Virtual Machine) is a full virtualization solution for Linux on x86 hardware.

    KVM (for Kernel-based Virtual Machine) is a full virtualization solution for Linux on x86 hardware. It consists of a loadable kernel module (kvm.ko) and a userspace component. Using KVM, one can run multiple virtual machines running unmodified Linux or Windows images. Each virtual machine has Private virtualized hardware: a network card, disk, graphics adapter, etc. The kernel component of KVM is included in mainline Linux, and will appear in Linux 2.6.20. KVM is open source software.

    标签: virtualization Kernel-based for hardware

    上传时间: 2015-08-19

    上传用户:lijianyu172

  • Visual Basic 6.0可以通过调用API函数格式化一个磁盘

    Visual Basic 6.0可以通过调用API函数格式化一个磁盘,无论是软盘还是硬盘。 打开一个新的项目(工程1) ,如果你没有更改过缺省模式,那么Visual Basic 6.0会自动添加一个form1文件,在form1上添加一个命令控件,将下面的代码拷入。 Option Explicit Private Declare Function SHFormatDrive Lib"shell32"( ByVal Hend AS Long,ByVal Drive AS Long,ByVal FormatID AS Long,ByVal Options AS Long) as Long Private Sub FormatDisk(intDrive as integer,blnQuickFormat as Boolean) dim lngReturn As Long if (blnQuickFormat) then lngReturn= SHFormatDrive(0,intDrive,0&,1&) else lngReturn= SHFormatDrive(0,intDrive,0&,0&) end if end Sub Private Sub Command1_Click() call FormatDisk(0,True) End Sub 运行此程序。 注意FormatDisk函数的第一个变量很重要,他的值是0,1,2时代表格式化的分别是:A、B、C盘。

    标签: Visual Basic 6.0 API

    上传时间: 2015-10-05

    上传用户:kytqcool

  • 第一个是path 和 CLASSPATH的问题 第二个是package和import问题 第三个是public

    第一个是path 和 CLASSPATH的问题 第二个是package和import问题 第三个是public,protected,Private,static,什 么时候用,为什么要用,怎么用 第四个是制作jar文件

    标签: CLASSPATH package import public

    上传时间: 2014-01-17

    上传用户:qlpqlq

  • 利用WM5 实现电话功能 在程序中进行电话拨号 “项目”—“添加引用”—“Microsoft.WindowsMobile.Telephony”—“确定” Imports Microsoft

    利用WM5 实现电话功能 在程序中进行电话拨号 “项目”—“添加引用”—“Microsoft.WindowsMobile.Telephony”—“确定” Imports Microsoft.WindowsMobile.Telephony Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim TestPhone As New Phone TestPhone.Talk("1001") End Sub

    标签: Microsoft WindowsMobile Telephony Imports

    上传时间: 2013-12-20

    上传用户:hasan2015

  • 问题描述:编写一个JAVA程序

    问题描述:编写一个JAVA程序,用面向对象设计的方法编写一个电话卡的类。包括卡号、密码、余额、拨入号码等 b)基本要求:类的属性有卡号、密码、余额、拨入号码,电话卡的常用操作可以用连接电话方法、返回余额方法与通电话方法来实现。 c)方法功能描述: 构造方法(PhoneCard(卡号,密码,余额,拨入号码))可以完成属性值初始化赋值,并判断余额,余额为负就退出系统,请在构造方法中将初始时的连接置为false即表示没有连接。 卡号long cardNumber 密码Private int password,余额double balance,拨入号码string connectNumber boolean connected(一个布尔类型变量表示电话卡连接状态,初始时默认没有连接,值为false,当调用连接电话方法()后,在判断卡号和密码相匹配后值置为true) 连接电话方法(performConnection(卡号,密码))可以完成检查卡号和密码,它是只有在卡号和密码相匹配时才连接 返回余额方法(getBalance())得到电话卡的余额 通电话方法(performDial())是模拟通过过程中,余额会不断减少,每调用此方法,电话卡的余额减少0。5元,打一次电话调用一次

    标签: JAVA 编写 程序

    上传时间: 2014-01-20

    上传用户:1109003457

  • 请将OpenPet.ico 放在c盘文件下 当然你也可以放在程序目录

    请将OpenPet.ico 放在c盘文件下 当然你也可以放在程序目录,那就要修改程序 将Private Icon img = new Icon(@"C:\OpenPet.ico") 改为Private Icon img = new Icon("OpenPet.ico")

    标签: OpenPet ico 程序 目录

    上传时间: 2014-01-21

    上传用户:qiaoyue

  • Dijkstra算法求最短路径(C#版) using System using System.Collections using System.Text namespace Greedy

    Dijkstra算法求最短路径(C#版) using System using System.Collections using System.Text namespace Greedy { class Marx { Private int[] distance Private int row Private ArrayList ways = new ArrayList() public Marx(int n,params int[] d) { this.row = n distance = new int[row * row] for (int i = 0 i < row * row i++) { this.distance[i] = d[i]

    标签: System using Collections namespace

    上传时间: 2013-12-29

    上传用户:liglechongchong