2015年4月8日
摘要: 从数据库里随机读取几条数据Access: select top n * from table order by rnd(id)‘id为数据库的自动编号字段Sql Server: select top n * from table order by newid()MySQL:SELECT * FROM... 阅读全文
posted @ 2015-04-08 22:17 雪夜 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 1、取值: protected void Button1_Click(object sender, EventArgs e) { string str = ""; foreach (GridViewRow row in this... 阅读全文
posted @ 2015-04-08 08:26 雪夜 阅读(244) 评论(0) 推荐(0) 编辑