如何将两个表从相同的数据库合并到另一个表 [英] How Do I Merge Two Table From Same Database To Another Table

查看:180
本文介绍了如何将两个表从相同的数据库合并到另一个表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想合并两个表

并将所有数据存储到一个新表中。

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[^]


这篇关于如何将两个表从相同的数据库合并到另一个表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆