哪个更好,在Windows应用程序(C#)中使用TableAdapter或使用COmmand对象插入数据 [英] Which is better ,Inserting Data using TableAdapter or using COmmand Object in Windows Application(C#)

查看:47
本文介绍了哪个更好,在Windows应用程序(C#)中使用TableAdapter或使用COmmand对象插入数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好朋友

我的问题是哪个更好,在Windows应用程序中使用TableAdapter或COmmand对象插入数据.


并举一个使用TableAdapter在数据库中插入数据的示例.

请尽快给我.


在Advance中致谢

Hello Friends

My Question is that Which is better ,Inserting Data using TableAdapter or using COmmand Object in Windows Application.


And Also Give an example of inserting data in database using TableAdapter.

Pls me as soon as possible.


Thanks in Advance

推荐答案

两者都不比另一个更好.这取决于您的需求情况和您的应用程序数据模型的设计.

如果您需要示例,请使用Google的"TableAdapter示例C#".
Neither is better than the other. It depends on your requirements sitution and the design of your apps data model.

If you want examples, Google for "TableAdapter example C#".


这篇关于哪个更好,在Windows应用程序(C#)中使用TableAdapter或使用COmmand对象插入数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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