一次性取得多张表的数据?几张表的字段不一样
就是发送一个SQL语句取得多表的数据放在一个DataSet里
select * from table1;
select * from table2;
select * from table3;
就是发送一个SQL语句取得多表的数据放在一个DataSet里
select * from table1;
select * from table2;
select * from table3;
select * from table1 union select * from table2
两张表肯定没问题 多张表不确定
没有测试 但是用left join就可以得到你要的效果