码迷,mamicode.com
首页 >  
搜索关键字:te    ( 3178个结果
C#窗体控件拖动
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Te...
分类:Windows程序   时间:2015-09-21 01:16:49    阅读次数:167
MAX2--求解数组中两个较大元素值
方法1: public class test0920{ public static void swap(int[] arr,int i,int j){ int temp=arr[i]; arr[i]=arr[j]; arr[j]=te...
分类:编程语言   时间:2015-09-20 21:57:06    阅读次数:143
调研Android的开发环境的发展演变
从网上找到Androidstudio的安装包,着手安装,安装完成后却出现问题,Failed to install Intel HAXM. For details, please check theinstallation log:"C:\Users\ADMINI~1\AppDate\Local\Te...
分类:移动开发   时间:2015-09-18 15:03:36    阅读次数:283
动态SQL(拼接)
Q1:什么是动态SQL呢?A1:首先是SQL语句,是根据条件来拼接SQLQ2:为什么要用动态SQL?A2:因为在条件WHERE中出现OR会导致不能使用索引,从而使效率差别巨大。例如:如图1、2,图(1)图(2)Q3:怎么样使用动态SQL?A3:存储过程Proc_Test是没有采用拼接的:CREATEPROCProc_Te..
分类:数据库   时间:2015-09-17 19:55:10    阅读次数:255
Android控件之EditText(输入文本框控件)
一、EditText控件的常用属性 android:id——控件的id android:layout_width——控件的宽度 android:layout_height——控件的高度 android:text——文本内容(可以设置默认值) android:te...
分类:移动开发   时间:2015-09-16 19:34:40    阅读次数:255
mysql sql优化及注意事项
sql优化分析通过slow_log等方式可以捕获慢查询sql,然后就是减少其对io和cpu的使用(不合理的索引、不必要的数据访问和排序)当我们面对具体的sql时,首先查看其执行计划A.看其是否使用索引B.查看其查询的记录数C.确定索引的代价是否过高D.是否可以使用复合索引E.是否有“using te...
分类:数据库   时间:2015-09-15 01:29:45    阅读次数:181
hdu 5007 水 弦
http://acm.hdu.edu.cn/showproblem.php?pid=5007纯粹的联系String的substr什么时候substr拦截比写短话string te; int n; te="Hellow"; cout #include #include #includ...
分类:其他好文   时间:2015-09-12 20:16:00    阅读次数:134
WCF学习之旅----正式篇之基础框架
服务类包括服务契约IWCFService、操作契约OperationContract、和数据契约DataContract。 using?System; using?System.Collections.Generic; using?System.Linq; using?System.ServiceModel; using?System.Te...
分类:其他好文   时间:2015-09-11 23:36:37    阅读次数:603
零基础学python-14.3 python的文档资源:help函数
python除了提供__doc__来查询文档字符串,还提供另外的一种方法来查询文档字符串:help 下面是我们自己建立的一个类,使用help打印,形成相关的报表信息 >>> class Test(): '这是一个测试类' def helloworld(): '测试方法' print('hello world') >>> help(Test) Help on class Te...
分类:编程语言   时间:2015-09-10 11:10:56    阅读次数:149
修改hostname
修改了hostname后,如何使其立即生效而不用重启操作系统。方法1: 修改了/etc/sysconfig/network下的HOSTNAME后,然后使用echo servername > /proc/sys/kernel/hostname。 [root@DB-Server ~]# echo Te....
分类:其他好文   时间:2015-09-09 17:14:30    阅读次数:129
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!