select a.name as tabname ,h.name as idnamefrom sys.objects as a right join sys.indexes as h on a.object_id=h.object_id where a.type's'...
分类:
数据库 时间:
2014-10-22 12:37:41
阅读次数:
234
黄金数据查询演示示例usingSystem;usingSystem.Text;usingSystem.Net;namespacegold{classProgram{staticvoidMain(string[]args){stringkey="*****************";//申请的key值...
分类:
其他好文 时间:
2014-10-22 12:36:52
阅读次数:
201
火车票查询接口usingSystem;usingSystem.Text;usingSystem.Net;namespacetrianticket{classProgram{staticvoidMain(string[]args){stringkey="******************";//申请...
分类:
其他好文 时间:
2014-10-22 12:30:25
阅读次数:
293
内部传值的方式不同:值类型是把自己的值复制一份传递给别的函数操作.无论复制的值怎么被改变.其自身的值是不会改变的而引用类型是把自己的内存地址传递给别的函数操作.操作的就是引用类型值的本身.所以值被函数改变了.例如int a = 1;int b = a;b++;这时b为2,a仍然是1再看引用类型,例如...
分类:
其他好文 时间:
2014-10-22 12:21:41
阅读次数:
203
比如定义f(x)=x^2,可以写为f=@(x)(x.^2)其中@(x)(x.^2)就是匿名函数,第一个括号里面是自变量,第二个括号里面是表达式,@是函数指针f=@(x)(x.^2)表示将匿名函数@(x)(x.^2)赋值给f,于是f就表示该函数。于是f(2)=2.^2=4;f(1:3)=[1:3].^...
分类:
其他好文 时间:
2014-10-22 12:18:16
阅读次数:
272
航班查询 接口usingSystem;usingSystem.Text;usingSystem.Net;namespaceweizhang{classProgram{staticvoidMain(string[]args){stringname="CA5901";stringkey="*******...
分类:
其他好文 时间:
2014-10-22 12:14:40
阅读次数:
248
pre class="html" name="code">pre class="html" name="code">pre class="html" name="code">pre class="html" name="code">{
"y_legend":{
"text": "Time of day",
"style": "{color: #736AFF...
分类:
其他好文 时间:
2014-10-22 11:08:23
阅读次数:
242
Readonly和Disabled是用在表单中的两个属性,它们都能够做到使用户不能够更改表单域中的内容。但是它们之间有着微小的差别,总结如下:Readonly只针对input(text / password)和textarea有效,而disabled对于所有的表单元素都有效,包括select, ra...
分类:
其他好文 时间:
2014-10-22 10:49:33
阅读次数:
204
项目代码如下:
config配置文件:
className=com.mysql.jdbc.Driver
url=jdbc:mysql://localhost:3306/lob
user=root
password=root
com.itheima.util包下DBUtil.java
package com.itheima.util;
import java.io.FileNotFound...
分类:
数据库 时间:
2014-10-22 06:26:54
阅读次数:
395
我写这个工具,主要是多次在将自己的代码和别人代码做对比时,不想繁琐地用眼看他设置的和自己设置的哪里不一样. 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 ...