复制以下内容到记事本,另存为my.bat
最好存到桌面保存类型选择“所有文件”,然后双击就可以了 。@echo offcolor 2reg delete HKCR\lnkfile /v
IsShortcut /freg delete HKCR\piffile /v IsShortcut /freg ...
分类:
其他好文 时间:
2014-05-26 18:41:50
阅读次数:
226
决解乱码费了我好些时间啊!
乱码原因有
1.mysql未设置为支持汉字
2.没有发送头信息
3.使用的编译器不符合相应的编码
决解的方法是
在mysql里
我用的是Wanmp Server
1.在mysql目录下找到my.ini,在[client]新增default-character-set=utf8
[client]
#password = your_passwor...
分类:
数据库 时间:
2014-05-26 04:39:31
阅读次数:
273
例1: 批量 查询部门号为 "10" 号的并把它们打印出来 . DECLARE TYPE
emp_table_type IS TABLE OF my_emp%ROWTYPE INDEX BY BINARY_INTEGER; v_emp_table
emp_table_type;BEGIN SELE....
分类:
数据库 时间:
2014-05-26 01:26:47
阅读次数:
356
-好软件的定义就是它的体积不大不小,功能不多不少,一切都是那么的恰到好处。 -Good
software is neither too big nor too small,neither too Complex nor too
Simple,everything is so right. +点击.....
分类:
其他好文 时间:
2014-05-26 00:54:15
阅读次数:
254
I try the one of your approach, it works well
in my computer. Below is my code: public void AddContextMenu() { ContextMenu
mnuContextMenu = new Con...
分类:
其他好文 时间:
2014-05-26 00:36:55
阅读次数:
266
addStudent.jsp如下 Add info This is my JSP page.
添加学生信息 ...
分类:
数据库 时间:
2014-05-25 23:59:14
阅读次数:
479
画一个心形有很多公式可以使用,下面这个公式我认为最完美了:
float x = R * 16 * pow(sin(theta), 3);
float y = R * (13 * cos(theta) - 5*cos(2*theta) - 2*cos(3*theta) - cos(4*theta));
画出来的心形最漂亮,最原始的笛卡尔的心形是个肥心,没这个好看,呵呵。
效果如下:
...
分类:
其他好文 时间:
2014-05-25 22:46:49
阅读次数:
315
Question0Sign in to voteFolks,In my
application, when the user hits "Submit" button, I have to make a Web service
call asynchronously. Here is what I ...
分类:
其他好文 时间:
2014-05-25 22:19:32
阅读次数:
657
<?php
/*--------------------编写自己的缓存类---------------*/
class my_cache{
//定义有关变量
private $cache_time;//缓存有效时间
private $cache_file;//缓存文件保存路径
//初始化类,默认是index.html时间是1
function __construc...
分类:
Web程序 时间:
2014-05-25 21:54:23
阅读次数:
328
文件上传:这里用得时表单上传的方式,表单上传到的时候
method一定指定为POST,enctype="multipart/form-data".第一种方式,直接上传、读取、显示内容,并没有存储到服务器端。 1 2
6 7 8 9 10 ">11 12 My J...
分类:
Web程序 时间:
2014-05-25 15:12:42
阅读次数:
363