DataSet question?

  • Thread starter Thread starter Iwan Petrow
  • Start date Start date
I

Iwan Petrow

Hi,

I have an instance of dataset which is filled. I show part of the data
in a datagrid (in the future the user will choose which columns to be
shown). Now I would like to put all information from a given row using
button to a datalist control. What can I do to fill this datalist? Can
I create other dataset (the type of this dataset is the same as the
first) and fill it with the information of the selected row?

Thanks.
 
Hi,
Thanks for the answer. And here is an example:
I have a dataset:

Table1:
prkeyA
B
C
foreignkeyD

Table2
prkeyD
E
F
G

Ok. Now I want to show in a datagrid fields
prKeyA,B,E,F

And I have a button in each row called Details.
When I click it I would like to show all data for example in a datalist
control. In it I would like to show all data:
prKey,A,B,C,foreignkeyD,E,F,G.

Thanks.
 
Back
Top