Click here to Skip to main content
15,897,704 members
Home / Discussions / C#
   

C#

 
AnswerRe: Multidimensional arrays Pin
Guffa21-Mar-06 22:25
Guffa21-Mar-06 22:25 
QuestionCode WSS Object Model Pin
KPR_KPR21-Mar-06 20:09
KPR_KPR21-Mar-06 20:09 
AnswerRe: Code WSS Object Model Pin
HimaBindu Vejella21-Mar-06 20:13
HimaBindu Vejella21-Mar-06 20:13 
QuestionNeed Your Attention this is General! Pin
_mubashir21-Mar-06 19:58
_mubashir21-Mar-06 19:58 
AnswerRe: Need Your Attention this is General! Pin
darkelv21-Mar-06 20:45
darkelv21-Mar-06 20:45 
GeneralRe: Need Your Attention this is General! Pin
Bob Stanneveld22-Mar-06 10:48
Bob Stanneveld22-Mar-06 10:48 
AnswerRe: Need Your Attention this is General! Pin
Bob Stanneveld21-Mar-06 20:52
Bob Stanneveld21-Mar-06 20:52 
AnswerRe: Need Your Attention this is General! Pin
mcljava22-Mar-06 4:53
mcljava22-Mar-06 4:53 
There is definitely more than one way to skin the proverbial cat.

My take is create a named data set. The when you fill the adapter you are referring to a table and row such as MyTable.AccountNumber[i] instead of Tables[0].Rows[....]

If you have signaficant converion between the dataset and the deseried representation in variables then a custom data set make not fit so well. You might be better off dealing with the generic data set.

But again I would rather define an Interface with the constants you need to manage the generic data set. Then you can refer to logical index names instead the hard coded table, row or column names.

Finally when should you copy the data set to a private data store? Well if the data set is humongous and you are only using a small portion that has to be converted and used by other .CS classes and modules, then it makes sense. Particularly if

If you are copying the data set and using the variables all with one class the need is dubious. It is definitely "overhead" to copy a bunch of variables so if you can find a way to directly operate on the data perhaps via a Named Data Set or through an Interface, then your app can drive directly off the data w/o the intermmediate cyles.

Good Luck

Mike Luster
CTI/IVR/Telephony SME
QuestionShow/Hide Quick Lanch Bar Pin
sherwani21-Mar-06 18:25
sherwani21-Mar-06 18:25 
AnswerRe: Show/Hide Quick Lanch Bar Pin
Vasudevan Deepak Kumar21-Mar-06 21:47
Vasudevan Deepak Kumar21-Mar-06 21:47 
GeneralRe: Show/Hide Quick Lanch Bar Pin
sherwani22-Mar-06 3:14
sherwani22-Mar-06 3:14 
QuestionDatagrids and reports Pin
Jim Barber21-Mar-06 16:10
Jim Barber21-Mar-06 16:10 
QuestionAdding Outlook Contacts To Database Pin
P R Krishna21-Mar-06 15:55
P R Krishna21-Mar-06 15:55 
QuestionDeterming My Programs Directory Pin
Tyrus18221-Mar-06 14:41
Tyrus18221-Mar-06 14:41 
AnswerRe: Determing My Programs Directory Pin
Sean8921-Mar-06 15:37
Sean8921-Mar-06 15:37 
AnswerRe: Determing My Programs Directory Pin
tarasn21-Mar-06 22:32
tarasn21-Mar-06 22:32 
QuestionNHibernate Pin
Fernando A. Gomez F.21-Mar-06 14:13
Fernando A. Gomez F.21-Mar-06 14:13 
QuestionNokia 3330 Pin
rana mahummad zeeshan21-Mar-06 9:37
rana mahummad zeeshan21-Mar-06 9:37 
AnswerRe: Nokia 3330 Pin
mcljava21-Mar-06 10:29
mcljava21-Mar-06 10:29 
QuestionWhich editor is the best Pin
emran83421-Mar-06 9:19
emran83421-Mar-06 9:19 
AnswerRe: Which editor is the best Pin
Dan Neely21-Mar-06 9:38
Dan Neely21-Mar-06 9:38 
GeneralRe: Which editor is the best Pin
emran83421-Mar-06 9:41
emran83421-Mar-06 9:41 
GeneralRe: Which editor is the best Pin
Steve Pullan21-Mar-06 12:04
Steve Pullan21-Mar-06 12:04 
AnswerRe: Which editor is the best Pin
Allah On Acid21-Mar-06 12:44
Allah On Acid21-Mar-06 12:44 
GeneralRe: Which editor is the best Pin
Sean8921-Mar-06 13:07
Sean8921-Mar-06 13:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.