Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

  Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
       DbConnCC = New OleDbConnection(connectString)
       DbAdaptCC = New OleDbDataAdapter(querySQL, connectString)
       DbAdaptCC.Fill(DbDataCC)
       DataGrid1.SetDataBinding(DbDataCC, "ccdata")

   End Sub

 

This code... along with any other type of binding gives me the subject error. This is the basic code, I have stripped out the try...catch and other stuff I had while trying to narrow this down... and I can't. I have googled this for hours and am lost. This is the simplest form that I can think of to get a binding done and it won't work. I know it's the binding because I get no errors if I rmove anything after filling the dataset, so I assume it's filling the dataset... what is happening here?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...