开发者

Visual studio 2010: Can't show design view

I have an problem in Visual Studio 2010:

Visual studio 2010: Can't show design view

I created an custom user control, that show some data, then I tryed to add it on a page.

When I did this, this error showed up... when I run (start debugging) my application, everything works fine, the only thing that is not working is Visual Studio design view.

开发者_开发百科What should I do to solve this?


Your control is displaying data - if it tries to get that data from a remote database (for example) that's not available at design time then this could cause the problem.

You need to either modify your code to cope with the data source being missing (probably a good idea anyway) or wrap the code in a "is this design mode" check.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜