Upgrade to VS2005. What is going on with the Data Adapters?

J

Justin

We decided to upgrade to 2005 and upgrade our components. After fixing a
few odds and end the upgrade was complete and our project was working fine.
We didn't run into problems until we needed to ADD a table to our DB and
update an existing Dataset.

We have 9 data adapters in our project that pull different sets of data. I
changed the Select statement on one of these adapters and noticed the
datagrid didn't change. After messing with it for a while I decided to blow
out the datagrid and created a new one. When I added the data source to the
grid I noticed something new was created, "xxxxBindingSource". Ok,
whatever. I further noticed the datagrid was not pulling the right
information. The fields where only half right. No mater what I do I can't
get the datagrid to pull the right information. HOWEVER, if I click on the
new "right arrow thingy" in the top right hand corner of the control and go
to PREVIEW DATA I can select the proper data adapter and then it pulls the
right info.

Why can't I get the grid to pull form the right adapter on it's own? What
changed? Why doesn't it maintain the fact that I selected a SPECIFIC
dataset? What is this BindingSource stuff?

I guess I'll have further trouble getting the related crystal report to pull
the updated data as well?

If anyone can give any insight I would greatly appreciate it!

Thanks
 
J

Justin

Nevermind! If you change the adapter then you have to blow out your dataset
and recreate it. What a pain!

It's always something stupid...
 

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

Top