Error1'WindowsFormsApplication1.update_html1.test_db_DataSet' is a 'field' but is used like a 'type'
but as far as i can see form the .designer.cs file and .cs files it is actualy a type ... any ideas????
if anyone needs any details to shed light on this i would only be to happy to give you them.
alecPosted Sep 9, 2011, 6:59 AM
VulpesPosted Sep 9, 2011, 6:53 AM
alecPosted Sep 9, 2011, 6:46 AM
VulpesPosted Sep 9, 2011, 6:22 AM
alecPosted Sep 9, 2011, 5:50 AM
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.update_html_button = new System.Windows.Forms.Button();
this.gen_price_and_cat_sheet_button = new System.Windows.Forms.Button();
this.test_connection_button = new System.Windows.Forms.Button();
this.test_db_DataSet = new update_html1.test_db_DataSet();
this.testdbDataSetBindingSource = new System.Windows.Forms.BindingSource(this.components);
((System.ComponentModel.ISupportInitialize)(this.test_db_DataSet)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.testdbDataSetBindingSource)).BeginInit();
this.SuspendLayout();
//then button declarations and specifications
...
}
the ebay one is similar but less complicated ... and so works
VulpesPosted Sep 9, 2011, 5:37 AM
alecPosted Sep 9, 2011, 5:18 AM
alecPosted Sep 9, 2011, 5:02 AM
//then button declarations and specifications
...
}
the definition is in the automatically generated test_db_DataSet.Designer.cs and is huge so I have included it as a file
VulpesPosted Sep 8, 2011, 1:08 PM
1. The line of code which is causing this error and any earlier lines in the same method which you think may be relevant.
2. The field or type definition for WindowsFormsApplication1.update_html1.test_db_DataSet.