由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - C#: DataSet vs. Class
相关主题
Help: How to display data from excel in C# windows form求一网络编程解决办法
bash中怎样进行变量名递归替换?Newbie javascript question: change radio button updates textbox message
VISUAL STUDIO 2005 输出窗口(output) 怎么找不到?新手问C# 问题
继承的assignment operator问题wpf:命令和点击(onclick)
问个Winform与工作类的互动问题。cgi GET method: display results for the 1st time
[合集] 问一个design pattern的问题pdfjs displaying pdf issue
C#处理XML的问题简单问题,可我不会。:( 急用啊!
Q: 2 submit buttons in 1 page (转载)C++ namespace 弱问
相关话题的讨论汇总
话题: records话题: dataset话题: stored话题: those话题: procedure
进入Programming版参与讨论
1 (共1页)
m*****1
发帖数: 8
1
I have a stored procedure returning several records. Those returned records
from the stored procedure will be displayed in the textboxes on a form. Some
of fields in those records may be modified in the related textboxes.
Should I use a dataset or a class to store those records from the stored
procedure before they are displayed on the form ? What are the cons and pros
using each one? Thanks a lot.
N********n
发帖数: 8363
2
Google ".net strong typed dataset". You can represent dataset in a
class and Visual Studio or some 3rd party tools can generate it for
you w/ a few drag&drops.

records

【在 m*****1 的大作中提到】
: I have a stored procedure returning several records. Those returned records
: from the stored procedure will be displayed in the textboxes on a form. Some
: of fields in those records may be modified in the related textboxes.
: Should I use a dataset or a class to store those records from the stored
: procedure before they are displayed on the form ? What are the cons and pros
: using each one? Thanks a lot.

A**n
发帖数: 1703
3
I'll say datasets for small projects and classes for large projects
involving a team and ongoing maintenance.

records
Some
pros

【在 m*****1 的大作中提到】
: I have a stored procedure returning several records. Those returned records
: from the stored procedure will be displayed in the textboxes on a form. Some
: of fields in those records may be modified in the related textboxes.
: Should I use a dataset or a class to store those records from the stored
: procedure before they are displayed on the form ? What are the cons and pros
: using each one? Thanks a lot.

1 (共1页)
进入Programming版参与讨论
相关主题
C++ namespace 弱问问个Winform与工作类的互动问题。
database access using C# .net2008 3.5, window form[合集] 问一个design pattern的问题
How to put two cdf (cumulative distribution function) in one plot.C#处理XML的问题
estimate GARCH model in MatlabQ: 2 submit buttons in 1 page (转载)
Help: How to display data from excel in C# windows form求一网络编程解决办法
bash中怎样进行变量名递归替换?Newbie javascript question: change radio button updates textbox message
VISUAL STUDIO 2005 输出窗口(output) 怎么找不到?新手问C# 问题
继承的assignment operator问题wpf:命令和点击(onclick)
相关话题的讨论汇总
话题: records话题: dataset话题: stored话题: those话题: procedure