|
-
Jun 7th, 2008, 11:20 PM
#1
Thread Starter
Member
[2005] Databinding possible bug????
Ok guys, please bear with my explanation.
I have a VB.Net 2005 project with 1 Dataset.
Inside this project I have 1 form that uses databinding to accomplish its various tasks. I have no problem with any of these.
However every 5 minutes of coding the VB.NET designer decides to change the designer declarations inside the from InitializeComponent event on my form from:
VB Code:
Me.BreakGroundDataSet = New BreakGroundDataSet TO Me.BreakGroundDataSet = New frmPeople.BreakGroundDataSet ---------------------------------------------------------------- Me.GroupTableAdapter = New BreakGroundDataSetTableAdapters.GroupTableAdapter TO Me.GroupTableAdapter = New frmPeople.BreakGroundDataSetTableAdapters.GroupTableAdapter ---------------------------------------------------------------- Me.ContactTableAdapter = New BreakGroundDataSetTableAdapters.ContactTableAdapter TO Me.ContactTableAdapter = New frmPeople.BreakGroundDataSetTableAdapters.ContactTableAdapter ----------------------------------------------------------------
After it does this I get 3 errors.
Error 1 Type 'frmPeople.BreakGroundDataSet' is not defined. E:\Documents and Settings\Maxim\Desktop\BreakGround\frmPeople\frmPeople.Designer.vb 89 37 frmPeople
Error 2 Type 'frmPeople.BreakGroundDataSetTableAdapters.GroupTableAdapter' is not defined. E:\Documents and Settings\Maxim\Desktop\BreakGround\frmPeople\frmPeople.Designer.vb 302 36 frmPeople
Error 3 Type 'frmPeople.BreakGroundDataSetTableAdapters.ContactTableAdapter' is not defined. E:\Documents and Settings\Maxim\Desktop\BreakGround\frmPeople\frmPeople.Designer.vb 303 38 frmPeople
So basically it appends the forms name to the declaration which is obviously incorrect as I am declaring the dataset/tableadaptor inside THE form from the global object.
Someone please help before I go crazy and throw my computer through the window....
Last edited by maximg; Jun 8th, 2008 at 03:27 AM.
-
Jun 9th, 2008, 10:37 AM
#2
Thread Starter
Member
Re: [2005] Databinding possible bug????
Anyone have any ideas????
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|