2010年1月21日

15个mysql使用管理命令

摘要: 15个mysql使用管理命令In all the 15 mysqladmin command-line examples below, tmppassword is used as the MySQL root user password. Please change this to your MySQL root password. 1. How to change the MySQL root... 阅读全文

posted @ 2010-01-21 00:04 alon 阅读(521) 评论(0) 推荐(0) 编辑

C#编码好习惯,献给所有热爱c#的同志

摘要: 1. 避免将多个类放在一个文件里面。 2. 一个文件应该只有一个命名空间,避免将多个命名空间放在同一个文件里面。 3. 一个文件最好不要超过500行的代码(不包括机器产生的代码)。 4. 一个方法的代码长度最好不要超过25行。 5. 避免方法中有超过5个参数的情况。使用结构来传递多个参数。 6. 每行代码不要超过80个字符。 7. 不要手工的修改机器产生的代码。 a) 如果需要编辑机器产生的代码,... 阅读全文

posted @ 2010-01-21 00:02 alon 阅读(248) 评论(0) 推荐(0) 编辑

导航