01 2010 档案
摘要:1.oracle(1)使用TO_CHAR函数处理数字 TO_CHAR(number, '格式') TO_CHAR(salary,’$99,999.99’); (2)使用TO_CHAR函数处理日期 TO_CHAR(date,’格式’);to_char(sysdate,'q') 季 to_char(sysdate,'yyyy')年 to_char(...
阅读全文
摘要:在绑定GridView的时候,其中有的项过长,就可以通过以下语句处理<%#getnewstring(DataBinder.Eval(Container.DataItem, "name").ToString())%> public string getnewstring(string wangzhe) { if(wangzhe.Length<2) { return wan...
阅读全文
摘要:如果是Win Form中,用:MessageBox.Show("Your message"); using System.Windows.Forms; MessageBox.Show("你显示的信息","标题",MessageBoxButtons.类型,MessageIcon.类型); 如果是Web Form,用: Response.Write("<script language=Ja...
阅读全文

浙公网安备 33010602011771号