如何将两个表从相同的数据库合并到另一个表
问题描述:
我想合并两个表
并将所有数据存储到一个新表中。
table1 + table2 =表3
使用asp.net。
我只想在代码本身中使用它。
不想将它显示到任何列表或网格视图..
i want to merge two table
and store all data into a new table.
table1+table2 =table 3
using asp.net.
and i just want it within the code itself.
dont want to show it to any list or grid view..
答
请阅读我对该问题的评论。
如果通过说合并两个表,你的意思是加入数据,请参考: SQL连接的可视化表示 [ ^ ]
有关ASP.NET的更多信息,请查看此处:
ASP.NET和Visual Studio [ ^ ]
使用ASP.NET访问数据 [ ^ ]
Please, read my comment to the question.
If by saying "merge" two tables, you mean to join data, please refer this: Visual Representation of SQL Joins[^]
For futher information about ASP.NET, have a look here:
ASP.NET and Visual Studio[^]
Accessing Data with ASP.NET[^]