general code

  • Thread starter Thread starter Hrvoje Voda
  • Start date Start date
H

Hrvoje Voda

How can I write this code in general ?

DatasetDVD.ActionRow aRow = datasetDVD.Action.NewActionRow();

I would like to write a code in witch I don't know the name of the table in
dataset !



Hrcko
 
hi,

do not use named dataset, use a regular one and you could do

DataSet.Tables[ XXX ]

where XXX can be a variable holding either the table name or the index.

cheers,
 
Back
Top