changing the table a dataadapter accesses

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

changing the table a dataadapter accesses

If I want to change the table a dataadapter accesses, can I remove the
former table from the dataset's xsd file by simply deleting it?

Thank you in advance.

dennist685
 
Hi,

What are you trying to accomplish? Do you need to transfer data from one
table in a database to another one?
 
Hi Dennis,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need to use the same DataAdapter to
fill another DataTable in a DataSet and discard the former one. If there is
any misunderstanding, please feel free to let me know.

Yes, if so, you can simply delete the former table, and use the DataAdapter
to fill a new one. Notice this will lose all the changed data in the former
DataTable.

HTH.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
 
Kevin, your understanding was right on the button. It was the answer I
expected, but I wanted to be sure. Thank you.

dennist685
 
You're welcome, Dennis.

Thanks for sharing your experience with all the people here. If you have
any questions, please feel free to post them in the community.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
 
Back
Top