1、存储过程示例:为指定的职工在原工资的基础上长10%的工资SQL> create or replace procedure raiseSalary(empid in number) as pSal emp.sal%type; begin select sal int...
分类:
其他好文 时间:
2014-07-03 10:47:30
阅读次数:
171
1. 最笨的办法.......function get() { var s = 22.127456 + ""; var str = s.substring(0,s.indexOf(".") + 3); alert(str); }2. 正则 效果不错3. 他就比较聪明了.....4.会用新鲜东西的.....
分类:
Web程序 时间:
2014-07-03 10:39:46
阅读次数:
205
/// /// checkbox勾选取消勾选事件 /// /// /// protected void checkboxl_OnCheckedChanged(Object sender, EventArgs e) { string tempValue = string.Empty;//拼接联...
分类:
Web程序 时间:
2014-07-03 09:33:08
阅读次数:
194
单词计算程序,为啥遍历输出的时候会出现段错误 1 #include 2 #include 3 #include 4 #include 5 6 #define MAXWORD 100 7 8 struct tnode{ 9 char *word; 10 int c...
分类:
其他好文 时间:
2014-07-03 09:26:20
阅读次数:
201
VC中常见编译错误(转载看看)1)disable#pragma warning (disable: 4311 4312) //指针类型强制转化,大小不完全匹配warning C4311: ''type cast'' : pointer truncation from ''TriNode *const...
分类:
其他好文 时间:
2014-07-03 07:01:57
阅读次数:
214
变量的数据类型是可以转换的。转换的方法有两种,一种是自动转换,一种是强制转换。自动转换自动转换发生在不同数据类型的量混合运算时,由编译系统自动完成。自动转换遵循以下规则:若参与运算量的类型不同,则先转换成同一类型,然后进行运算。转换按数据长度增加的方向进行,以保证精度不降低。如int型和long型运...
分类:
编程语言 时间:
2014-07-03 06:49:05
阅读次数:
198
/// /// /// public static class DispatcherHelper { /// /// Simulate Application.DoEvents function of class. /// [SecurityPermissionAttribute ( Se...
分类:
移动开发 时间:
2014-07-03 06:16:08
阅读次数:
379
public partial class ActivityDesigner1 { public ActivityDesigner1() { //InitializeComponent(); } }[Designer(typeof(ActivityDesigner1))] public sealed....
分类:
其他好文 时间:
2014-07-03 06:00:03
阅读次数:
204
188上导出数据库elink:dbexport –o/home/ap/dcclink/.shan/194/elink elink;
194上导入数据库elink:dpimport –c –ddatadbs –i /home/ap/dcclink/.shan/elinkelink。
遇到问题如下:
一. The type of your terminal is unknownto t...
分类:
数据库 时间:
2014-07-01 15:02:44
阅读次数:
245