Click here to Skip to main content
15,903,523 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a code file with a few classes in it, my problem is that now when I double click the file to open, it tries to open it like it is a control (design instead of code), also the icon is changed. I'm thinking this happens because one of the classes inherits from DataTable...
Can you please teach me how to get rid of this behaviour?
Thank you!

1 solution

Click on the "Click here to switch to Code view" or Right click on the class and click on "View Code" menu
Share this answer
mslliviu 21-Jul-10 7:21am    
Hi, thank you for your answer, I know about this option, but I was hoping for a more "elegant" solution, or at least to understand why this happens...after all I don't think that DataTable is a UserControl
mslliviu 23-Jul-10 7:53am    
Reason for my vote of 5
Still hoping for another solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900