TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
William Costas
NA
3
0
Can anyone tell me why the update command works with Northwind and Adventureworks databases, but not with a database created by SQL express?
Jul 5 2010 8:56 PM
I'm using VS 2008. I can't seem to get the update command to work with a database I created with SQL Express but yet it works with the Northwind and Adventureworks sample databases. Can anyone tell me why?
private
void
myTableBindingNavigatorSaveItem_Click(
object
sender,
EventArgs
e)
{
try
{
this
.Validate();
this
.myTableBindingSource.EndEdit();
this
.tableAdapterManager.UpdateAll(
this
.myDataSet);
MessageBox
.Show(
"Update successful"
);
}
catch
(System.
Exception
)
{
MessageBox
.Show(
"Update failed"
);
}
}
Reply
Answers (
2
)
permission for administrative token
write the xml file form data table error