View Full Version : ArgumentException


renan
08-28-2006, 03:55 PM
Alguem pode me ajudar com esta exceçao ?
As vezes acontece esse erro, as vezes não. Grato.
VS 2005 CF2.0

System.ArgumentException was unhandled
Message="Cannot bind to the property or column site on the
DataSource.\r\nParameter name: dataMember"
StackTrace:
at System.Windows.Forms.BindToObject.CheckBinding()
at System.Windows.Forms.BindToObject.SetBindingManagerBase()
at System.Windows.Forms.Binding.SetListManager()
at System.Windows.Forms.ListManagerBindingsCollection.AddCore()
at System.Windows.Forms.BindingsCollection.Add()
at System.Windows.Forms.BindingContext.UpdateBinding()
at System.Windows.Forms.Control.OnBindingContextChanged()
at System.Windows.Forms.Control.OnBindingContextChanged()
at System.Windows.Forms.Control.OnBindingContextChanged()
at System.Windows.Forms.Control.OnBindingContextChanged()
at System.Windows.Forms.Control.OnBindingContextChanged()
at System.Windows.Forms.Control.set_BindingContext()
at System.Windows.Forms.ContainerControl.set_BindingContext()
at System.Windows.Forms.ContainerControl.get_BindingContext()
at System.Windows.Forms.Control.get_BindingContext()
at System.Windows.Forms.Control.get_BindingContext()
at System.Windows.Forms.Control.get_BindingContext()
at System.Windows.Forms.Control.OnBindingContextChanged()
at System.Windows.Forms.Control.OnBindingContextChanged()
at System.Windows.Forms.Control.OnBindingContextChanged()
at System.Windows.Forms.Control._SetParent()
at System.Windows.Forms.Control.set_Parent()
at ControlCollection.Add()
at MicrovixSFA.FrmCliente.InitializeComponent()
at MicrovixSFA.FrmCliente..ctor()
at MicrovixSFA.FrmOpcoes.picClientes_Click()
at System.Windows.Forms.Control.OnClick()
at System.Windows.Forms.Control.WnProc()
at System.Windows.Forms.Control._InternalWnProc()
at Microsoft.AGL.Forms.EVL.EnterMainLoop()
at System.Windows.Forms.Application.Run()
at MicrovixSFA.Program.Main()