摘要:
第一种,OnClientClick (vs2003不支持这个方法)<asp:Button ID="Button1" runat="server" Text="Button" OnClientClick="client_click()" OnClick="Button1_Click" />client_click() 就是javascript的一个方法。第二种,Button1.Attributes.Add("onclick", "return Client 阅读全文
posted @ 2012-02-16 17:35
小东北
阅读(397)
评论(0)
推荐(0)
摘要:
格式模式说明和关联属性c、C货币格式。关联的属性包括:CurrencyDecimalDigits,CurrencyDecimalSeparator,CurrencyGroupSeparator,CurrencyGroupSizes,CurrencyNegativePattern,CurrencyPositivePattern,CurrencySymbol.d、D十进制格式。e、E科学计数(指数)格式。f、F固定点格式。g、G常规格式。n、N数字格式。关联的属性包括:NumberDecimalDigits,NumberDecimalSeparator,NumberGroupSeparator,N 阅读全文
posted @ 2012-02-16 17:01
小东北
阅读(30404)
评论(0)
推荐(3)
摘要:
checklistbox控件1.添加项checkedListBox1.Items.Add("蓝色");checkedListBox1.Items.Add("红色");checkedListBox1.Items.Add("黄色");2. 判断第i项是否选中,选中为true,否则为falseif(checkedListBox1.GetItemChecked(i)){ return true;}else{ return false;}3. 设置第i项是否选中checkedListBox1.SetItemChecked(i, true); / 阅读全文
posted @ 2012-02-16 16:10
小东北
阅读(16475)
评论(0)
推荐(3)
摘要:
闪回查询(1).查询闪回例如:1)在删除员工smith记录后,希望查询到删除该行记录前的值,则可以查询emp在'2007-02-1123:34:05'时的数据,查询方法如下:select * from emp as of timestamp to_timestamp('2007-02-11 23:34:05','yyyy-mm-dd hh24:mi:ss') where ename='SMITH'; 2)查询当前时间alter session set nls_date_format='yyyy-mm-dd hh24:mi; 阅读全文
posted @ 2012-02-16 13:26
小东北
阅读(658)
评论(0)
推荐(0)
浙公网安备 33010602011771号