![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#11
| |||
| |||
|
|
Hi Richard, The DataAdapter is not available in the DataSet's designer. It's available in the form designer. You can find it in the Data section. If it doesn't appear there, you can choose from the Choose Items... popup menu. Kevin Yu ======= "This posting is provided "AS IS" with no warranties, and confers no rights." |
#12
| |||
| |||
|
|
I'm sorry but this seams confussing. If I understand you correctly, you're saying that if I have a single DataTable to populate then I can use the new TableAdapter, but if I have multiple DataTables then I have to use the old DataApapter. This appears to be two very different solutions to solve two very similar problems. The former sits nicely on the DataSet designer, is probably in the Buisness Rules layer and is probably shared by everything that requires the (populated) DataSet. The latter sits on the form designer and is likely to be accessible only by the form in question and (as in my case) likely doesn't work in any case because the UI layer can't see the database! Surely there must be a better way. Did MS spend time and effort to give us the declarative-based (and therefore quick, easy, consistent) TableAdapter but then just forget to give us a way of using them for multiple DataTables. It's hard to imagine this would happen but, from what you're saying, nevertheless true! "Kevin Yu [MSFT]" wrote: Hi Richard, The DataAdapter is not available in the DataSet's designer. It's available in the form designer. You can find it in the Data section. If it doesn't appear there, you can choose from the Choose Items... popup menu. Kevin Yu ======= "This posting is provided "AS IS" with no warranties, and confers no rights." |
#13
| |||
| |||
|
#14
| |||
| |||
|
|
Hi, I agree with Bill. The TableAdapter only deals with one table. If you need to put all data into one table, use JOIN in a query. If you need to fill multiple tables in a DataSet, use DataAdapter. Kevin Yu ======= "This posting is provided "AS IS" with no warranties, and confers no rights." |
#15
| |||
| |||
|
#16
| |||
| |||
|
#17
| |||
| |||
|
#18
| |||
| |||
|
#19
| |||
| |||
|
#20
| |||
| |||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |