set language 'Simplified Chinese'
select datename(dw,datepart(dw,'2006-8-20'))
set language 'English'
select datename(dw,datepart(dw,'2006-8-20'))
select datename(dw,datepart(dw,'2006-8-20'))
set language 'English'
select datename(dw,datepart(dw,'2006-8-20'))
这个在查询分析器上运行后看看效果,不错。呵呵!
<asp:textbox class="Text"
onkeypress="if (event.keyCode < 48 ¦ ¦ event.keyCode > 57) event.returnValue = false;"
id="txtY_Revenue" style="TEXT-ALIGN: right" runat="server" Width="90%" MaxLength="12">
</asp:textbox>
onkeypress="if (event.keyCode < 48 ¦ ¦ event.keyCode > 57) event.returnValue = false;"
id="txtY_Revenue" style="TEXT-ALIGN: right" runat="server" Width="90%" MaxLength="12">
</asp:textbox>
说明: 此方法控制TextBox只收数字:0~9