Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
2
Answers
Can anyone tell me why the update command works with Northwind and Adventureworks databases, but not with a database created by SQL express?
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
William Costas
14y
2.7k
1
Reply
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"
);
}
}
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
problem in connecting to oracle data in C# in windows 7
write the xml file form data table error