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,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

treeview control with data 1
search through dataSet 2
owned form 1
dateTime 3
user control 1
tables search 2
Unsolved: property Cells[row, col] (2 dimensional array as string) 5
Confused with Controls 3

Back
Top