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
Niranjan KumarKS
NA
16
718
Problem in linking Oracle XE to visual studio 2017 c#
Nov 11 2018 8:05 AM
I connected to a database.Then i dragged and dropped a table to a form.When I edited the data from data sheet and saving the form iam getting,
System.InvalidOperationException
HResult=0x80131509
Message=Update requires a valid UpdateCommand when passed DataRow collection with modified rows.
Source=SRB_SHOPS
StackTrace:
at SRB_SHOPS.DataSet3TableAdapters.TableAdapterManager.UpdateAll(DataSet3 dataSet) in D:\Accounts\SRB_SHOPS\SRB_SHOPS\DataSet3.Designer.cs:line 1972
at SRB_SHOPS.Form2.tABLE2BindingNavigatorSaveItem_Click(Object sender, EventArgs e) in D:\Accounts\SRB_SHOPS\SRB_SHOPS\Form2.cs:line 35
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at SRB_SHOPS.Program.Main() in D:\Accounts\SRB_SHOPS\SRB_SHOPS\Program.cs:line 19
What should I do ?
Reply
Answers (
0
)
log4net in trace level
Nested Gridview