1. Stupid Compiler Question or Compiler Stupid Question
I am confused why I must cast an enum to a type int if I defined the enum as follows:
enum COLUMNS :int
{
IP=0,
MSG =1
}
IMHO the compiler should be able to make the conversion without requiring a cast. I am curious why the cast is required.
Bill
2. Add which references in C# -- stupid question?
How can i open a form from another form in the same window? Like when i install a program and i press next,next... Thanks!!!!
4. Stupid question? - CSharp/C#
I have been handed a program that someone else wrote to preform simple maintenance on. I had a request to fix a minor bug, so I checked the program out of Source Safe and attempted to just build it. When I do, I get a build error Could not find type 'MyProject.MyControl'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built. The previous programmer had created a user control that is refrenenced all over this program, it is part of the same namespace. My thought is that it needs to be complied before the rest of the pages in the program and that is not happening. Anyone got a quick way to fix this? Thanks, Justin
6. OpenFile Stupid question - CSharp/C#
7. stupid question, ASP.NET / C#
i have my form (default.aspx) and then my logic (default.aspx.cs) and when the logic is done, i want it to go to another page to display the results (results.aspx)... i dont really want to have to clear or hide my form on the default.aspx page... i need to pass a few control values to a new page and just display them. i assume this is easy, and stupid but i couldnt locate it. with asp i would do something like server.transfer or response.redirect is that still the case here? Thanks Justin