matt09524 Posted October 13, 2005 Posted October 13, 2005 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? Quote
Machaira Posted October 13, 2005 Posted October 13, 2005 Why not just do: DataGrid1.DataSource = DbDataCC or am I missing something? Quote Here's what I'm up to.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.