会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
兰保明
博客园
::
首页
::
新随笔
::
联系
::
订阅
::
管理
::
公告
2011年8月15日
group by SQL
摘要: select sno,avg(score) from scgroup by sno having avg(score)>60
阅读全文
posted @ 2011-08-15 22:55 兰保明
阅读(166)
评论(0)
推荐(0)
遍历页面中的控件
摘要: 1 StringBuilder str = new StringBuilder(); 2 foreach (Control ctr in this.Page.Controls[3].Controls) 3 { 4 if (ctr.GetType().Name == "CheckBox") 5 { 6 CheckBox cb = (CheckBox)ctr; 7 if (cb.Checked) 8 str.Append(cb.Text + "<br/>"); 9 }10 }11 Literal1.Text = str.ToString();
阅读全文
posted @ 2011-08-15 10:56 兰保明
阅读(128)
评论(0)
推荐(0)
SQL查询第11行
摘要: SELECT top 1 * FROM [GpsNew].[dbo].[InstrumentType] where InstrumentID not in(select top 10 InstrumentID from InstrumentType)
阅读全文
posted @ 2011-08-15 10:02 兰保明
阅读(173)
评论(0)
推荐(0)