Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > ADO Data > Designer genera...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 4207 of 4320
Post > Topic >>

Designer generated code fails to compile

by =?Utf-8?B?UGF0IE1vcmFu?= <09081947@[EMAIL PROTECTED] > Apr 11, 2008 at 05:42 AM

have a project whose default name space is Wearther and form in the project

which is in this default namespace.  I have also generated a dataset and 
adapters to access a table in a database. I am using as a datasource this 
dataset via the generated DatasetBindingSource.

The problem is that the code the designed generates includes the lines

this.wEATHERDETAILSTableAdapter = new 
Weather._WeatherDetailsDataSetTableAdapters.WEATHERDETAILSTableAdapter(); 
this._WeatherDetailsDataSet = new Weather._WeatherDetailsDataSet();

 which explicitly specify the Weather namespace although the class is 
actually in this namespace and so the compilation fails unless I remove
the 
namespace qualification by hand.

How do I stop the designer from setting the namespace explicitly.

Thanks

 Pat
 




 2 Posts in Topic:
Designer generated code fails to compile
=?Utf-8?B?UGF0IE1vcmFu?=   2008-04-11 05:42:00 
Re: Designer generated code fails to compile
"Bob Barrows [MVP]&q  2008-04-11 08:52:11 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 14:25:44 CST 2008.