Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class designer and Invoke a static method?
Message
From
17/08/2007 11:54:39
 
General information
Forum:
ASP.NET
Category:
Class design
Miscellaneous
Thread ID:
01248762
Message ID:
01248793
Views:
20
I've never used the Class Designer, so I took a quick look at it in my little test app. I guess it could be useful. <g> Although, there is a limit to the usefulness, as you obviously discovered. There appeared to be plenty of methods that I couldn't run.

Your error is probably the result of the fact that your method needs to access data, going through the DAL and utilizing the app.config. I guess you just can't test this type of functionality in the Class Designer.

~~Bonnie




>VB 2005 winform app
>
>I am trying to test a new method before dropping it's call into action on the form. In general I am determining if an edit will dupe particular columns that have no constraint.
>
>This method is in my business layer, and the DAL which does the data pull needs the config settings in app.config.
>
>I place the class designer in the WinForm project. I add the class and invoke it with the params I need. I get this error back?
>
>'An unhandled win32 exception occured in dev.exe[4884]
>
>I have placed the call in my code and it returns good/bad depending on inputs.
>
>But how do you test in the class designer if your getting this type of an error?
>
>TIA
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform