摘要: SQL Server 2000/2005可以使用union allcreate table #(a int,b int)insert into #(a,b)select 1,2union all select 2,3union all select 3,4select * from #http://... 阅读全文
posted @ 2010-10-07 11:43 emanlee 阅读(599) 评论(0) 推荐(0) 编辑
摘要: 之前在测试一个简单的桌面应用程序时,因为涉及数据库插入操作,所以安装了SQL Server2008 Enterprise 试用版。 事涉一条插入语句:向数据库的一个表中一次性插入200多条数据,如下(数字是随便造的,请忽略): INSERT INTO table VALUES (... 阅读全文
posted @ 2010-10-07 11:36 emanlee 阅读(3228) 评论(0) 推荐(0) 编辑
摘要: The 'SelectedIndex' and 'SelectedValue' attributes are mutually exclusive.   ddlName.SelectedIndex = 0;  ddlName.SelectedValue = ""; 阅读全文
posted @ 2010-10-07 11:28 emanlee 阅读(1010) 评论(0) 推荐(0) 编辑