Windows Forms do not need to maintain State like Web Forms do, so there is no need for sessions there. But check this out http://www.codeproject.com/useritems/FormState.asp[^]
Tokorie
Posts
-
Sessions in window application -
Adding CheckBox in ASP.NETDo you need the Checkbox to be dynamically checked or unchecked during databinding ?? Or do you mean you want the checkbox to be fire when user makes a selection in another column in the grid?? For the first, you can attach the value from the datage to the Checked event of the checkbox, so if the value bound is in bit/boolean form from the database, that sets the checked event of the checkbox to false or true. For the second, you can set it in the such a way that when the user makes a selection in the column that determins the value of the state of the checkbox, based on selection, you either check or uncheck the checkbox in your grid
-
Problems compiling project in Visual C++ studiothat didn't help.... the same problem persists and this what it points to when I compile and it gives me that error #ifdef _WINDOWS_ #error WINDOWS.H already included. MFC apps must not #include #endif
-
Problems compiling project in Visual C++ studioCan you help with this error ?? C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include\mfc\afxv_w32.h(14) : fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include
-
Problems compiling project in Visual C++ studioIt is able to do more now but needs to have the settings done correctly and that is the problem I keep having.
-
Problems compiling project in Visual C++ studioI did download the express edition and then I downloaded SDK and followed the instructions on this page to get the two integrated http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/default.aspx[^] but the problem is that it is still not detecting the files in the SDK and I would like to get the two working so I can compile my files without all these errors
-
Problems compiling project in Visual C++ studioI recently downloaded Visual C++ Studio and when I try to compile my project, I get error messages such as these below. I made sure to follow the instructions on setting the VC++ Directories option but I still keep getting errors such as this one c:\Pam 2\Headers\afxwin.h(19) : fatal error C1083: Cannot open include file: 'AFX.h': No such file or directory and the problem is that most of these include files happen to be in the Windows Platform SDK / Include/MFC folder. How do I get my the compiler to look in there for these files please.
-
Problems compiling project in Visual C++ studioI recently downloaded Visual C++ Studio and when I try to compile my project, I get error messages such as these below. I made sure to follow the instructions on setting the VC++ Directories option but I still keep getting errors such as this one c:\Pam 2\Headers\afxwin.h(19) : fatal error C1083: Cannot open include file: 'AFX.h': No such file or directory and the problem is that most of these include files happen to be in the Windows Platform SDK / Include/MFC folder. How do I get my the compiler to look in there for these files please. Tokorie
-
Help with Errors in Vb.NETI have been trying to fix some specific errors for some time now and wondering if someone could please help me understand what the mistake here is 1) Imports System.Data.OleDb Imports System.Web.Mail Warning 2 Namespace or type specified in the Imports 'System.Data.OleDb' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases. 2) Error 1It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. 3) Inherits System.Web.UI.Page Error 4Type 'System.Web.UI.Page' is not defined.