摘要:
private Thread t; public Form1() { InitializeComponent(); ThreadStart ts = new ThreadStart(Do); t = new Thread(ts); t.Start(); timer1.Start(); } public void Do() { while (true) { Timer tm = new System... 阅读全文
摘要:
针对“用一条SQL得到数据库中的随机记录集”问题在网上已经有很多答案了: SQL Server 2000: SELECT TOP n * FROM tanblename ORDER BY NEWID() Access SELECT TOP n * FROM tanblename ORDER BY rnd([一个自动编号字段]) 好了!就说说这个Access的! 打开Acce... 阅读全文
摘要:
select convert(numeric(8,2),round(UnTaxAmount,2))as UnTaxAmount from View_SaleVoiceselect cast(UnTaxAmount as decimal(20,2)) as UnTaxAmount from View_SaleVoice Datagrid,DataList,Repeate等的数据格式设置表达式 Dat... 阅读全文