ArgumentException was unhandled Application.run
- by user369758
Hi I've been through many sites and can't seem to find an answer.
I modified a view that was connected to a Datagridview connected through a tableadapter on a C# Winforms app and in order to "reconnect" I had to delete the tableadapter and reconnect it. This was to get rid of an error regarding Unique contstraints. So I fixed that and now the application launches but when I click on the tab that that grid is on I get:
System.ArgumentException was unhandled
Message="Cannot bind to the property or column Id on the DataSource.\r\nParameter name: dataMember"
Source="System.Windows.Forms"
ParamName="dataMember"
StackTrace:
at System.Windows.Forms.BindToObject.CheckBinding()
at System.Windows.Forms.BindToObject.SetBindingManagerBase(BindingManagerBase lManager).........
I can't seem to find an answer to this problem. Can someone help me?
Thanks