SQLexpress newbie question

  • Thread starter Thread starter jed
  • Start date Start date
J

jed

Please help i cant connect to the database in C#Express.I add new data
source,i call up the show datasources window.I then drag the table
onto the form it automatically sets up the form.But when i run the
programme then it doesnt save the data into the database.It seems to
just get stuck in the dataset because you can view the data you have
just saved but as soon as you close and reopen the app then the data
lost.thanks
 
Here are two possible reasons:

(1) You are not calling the Update method on your table adapter to save the
changes to the database.

(2) You are using SQLServer Express, and you have it set to copy a new one
over every time you run the application.

Robin S.
 

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