码迷,mamicode.com
首页 >  
搜索关键字:io    ( 172858个结果
nodejs express route 的用法
July 3rd, 2012nodejs express route 的用法1. 首先是最基本的用法。12345var app=require('express').createServer(); app.get("/",function(req,res){ res.send("hello worl...
分类:Web程序   时间:2014-07-18 00:21:14    阅读次数:397
ZOJ 2975 Kinds of Fuwas
K - Kinds of Fuwas Time Limit:2000MS Memory Limit:65536KB 64bit IO Format:%lld & %lluDescriptionIn the year 2008, the 29th Olympic Games will be held ...
分类:其他好文   时间:2014-07-18 00:19:24    阅读次数:357
BufferedWriter和BufferedReader使用方法
/** * 上传文件 * @param file * @param path * @param fileName * @throws IOException */public void fileLoad(File file, String path, String fileName)throws I...
分类:其他好文   时间:2014-07-18 00:18:04    阅读次数:274
ORA-02069: global_names parameter must be set to TRUE for this operation
原因:在对远程表增删改操作的时候,调用了本地函数。 比如:insert into trans_load_rate@DC values(rate_s(1)); trans_load_rate是DC库的表,rate_s函数是本地库的函数,执行上面这条sql的时候,就会报ora-02069解决方法: .....
分类:其他好文   时间:2014-07-18 00:17:41    阅读次数:243
如何用C# 连接MySQL数据库
我们可以通过两种方式来连接MySQL数据库,先看直联的方式:方法一:使用MySQL推出的MySQL Connector/Net组件,该组件是MySQL为ADO.NET访问MySQL数据库设计的.NET专用访问组件。完成该组件后,需要在项目中引用这个组件,之后在程序中引用命名空间MySql.Data....
分类:数据库   时间:2014-07-18 00:16:45    阅读次数:351
yii2中的事件和行为
Event 事件事件是为了解耦...注册事件使用"on add"添加属性,注册事件 使用on方法注册事件. 第三个参数$data是监听函数使用的参数, 第四个$append参数设置为false则把改事件的方法给添加到最前面,会先触发 事件种类: 匿名函数:function($event){} 对象方...
分类:其他好文   时间:2014-07-18 00:14:03    阅读次数:774
ZOJ 2970 Faster, Higher, Stronger
F - Faster, Higher, Stronger Time Limit:2000MS Memory Limit:65536KB 64bit IO Format:%lld & %lluSubmit Status Practice ZOJ 2970DescriptionIn the year 2...
分类:其他好文   时间:2014-07-18 00:05:06    阅读次数:253
tomcat6类加载器与类加载顺序
tomcat6.0.32com.dyyx.ShareUtils//返回系统当前时间public static String now();package com.dyyx;import java.text.DateFormat;import java.text.SimpleDateFormat;imp...
分类:其他好文   时间:2014-07-18 00:01:50    阅读次数:334
mysql创建用户两次授权
mysql> GRANT ALL PRIVILEGES ON *.* TO 'monty'@'localhost' -> IDENTIFIED BY 'some_pass' WITH GRANT OPTION;mysql> GRANT ALL PRIVILEGES ON *.* TO ...
分类:数据库   时间:2014-07-17 22:04:27    阅读次数:317
数据库结构查询
--1:获取当前数据库中的所有用户表select Name from sysobjects where xtype='u' and status>=0--2:获取某一个表的所有字段select name from syscolumns where id=object_id(N'表名')--3:查看与...
分类:数据库   时间:2014-07-17 22:01:43    阅读次数:467
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!