05 2012 档案
摘要:SNMP具有以下特点:1、支持分布式网络管理2、扩展了数据类型3、可以实现大量数据的同时传输,提高了效率和性能4、丰富了故障处理能力5、增加了集合处理功能6、加强了数据定义语言根据以上前三特点,就UDP能满足它的功能需求。
阅读全文
摘要:1.准备工作: 准备相关的软件(Eclipse除外,开源软件可以从官网下载)<1>.Microsoft SQL server 2005 Express Edition下载地址:http://download.microsoft.com/download/0/9/0/09020fab-d2c3-4a8c-b9e0-db53a7a30ae8/SQLEXPR_CHS.EXE<2>.SQL Server Management Studio下载地址:http://www.microsoft.com/downloads/details.aspx?displaylang=zh-cn&
阅读全文
摘要:第一种是以毫秒为单位计算的。 Java代码 //伪代码 long startTime=System.currentTimeMillis(); //获取开始时间 doSomeThing(); //测试的代码段 long endTime=System.currentTimeMillis(); //获取结束时间 System.out.println("程序运行时间: "+(end-start)+"ms"); //伪代码 long startTime=System.currentTimeMillis(); //获取开始时间 doSomeThing(); //测试
阅读全文
摘要:two or more web modules defined in the configuration have the same context root(/项目名)。to start this server you will need to remove the duplicate(s)产生原因: 因为tomcat为项目建立服务器的配置出现错误。错误的文件为D:\Test\Servers\Tomcat v5.5 Server at localhost-config\server.xml,当你直接复制项目时项目当中D:\Test\test\.settings\org.eclipse.wst
阅读全文
摘要:设置字体的时候可以这样用的android:textStyle="bold|……"多个选项中间可以用|分开的这样就可以同时设置字体是粗体,斜体,或下划线
阅读全文
摘要:mysql查看表结构命令,如下: desc 表名;show columns from 表名; describe 表名;show create table 表名;use information_schemaselect * from columns where table_name='表名'; 顺便记下:show databases;use 数据库名;show tables; 原有一unique索引AK_PAS_Name(PAC_Name)在表tb_webparamcounter中,执行以下sql修改索引alter table tb_webparamcounter drop in
阅读全文
摘要:在main.xml 或者其他xml 布局文件中布局Button的时候,选择Android:gravity="center_horizontal",意思是Place object in the horizontal center of its container, not changing its size.我们用RelativeLayout 布局,这样可以使不同的组件有对齐的方式。[代码]main.xml01<?xmlversion="1.0"encoding="utf-8"?>02<RelativeLayoutxm
阅读全文

浙公网安备 33010602011771号