How to refresh a typed dataset in Visual Studio 2005

  • Thread starter Thread starter johnsmithme2004
  • Start date Start date
J

johnsmithme2004

I have generated a typed dataset in Visual Studio 2005 by dragging
tables from Server Explorer onto the Designer surface. I then
configured adapters and added some methods based on stored procedures.

Now the underlying tables in the database were changed and I added and
remove some columns.

What is the best way to refresh the dataset so that it reflects the
changes?

Thank you,

jsmith
 
That's one disadvantage of dataset designer (IMO it is really useful just
for demos and small apps where the database structure doesn't change much).
Instead I would go with a template based code generator (i.e. CodeSmith) or
switch to an ORM product (i.e. LLBLGenPro).
Both ways you'll get much of the code autogenerated for free.
 

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

Back
Top