摘要: 直接贴代码吧。 /// summary /// 获取Excel文件 /// /summary /// param name="sender"/param /// param name="e"/param private void button1_Click(object sender, EventArgs e) { OpenFileDialog dlg = new OpenFileDialog(); dlg.Filter = "Excel文件(*.xls)|*.xls"; if (dlg.ShowDialog() == DialogResult.OK) { string 阅读全文
posted @ 2010-03-19 18:51 GT_Andy 阅读(8080) 评论(0) 推荐(0) 编辑
摘要: Q. How can I randomly sort query results?     A. To randomly order rows, or to return x number of randomly chosen rows,    you can use the RAND function inside the SELECT statement.    But the RAND function is resolved only once for the entire query,    so every row will get same value.    You can u 阅读全文
posted @ 2010-03-19 16:29 GT_Andy 阅读(219) 评论(0) 推荐(0) 编辑