Hi All,
I'm using application object in Application.Lock(). But some errors are coming.The errors has been given below.
Error E:\...\StateMgmt\ 25 E:\infonet\in\StateMgmt\Default.aspx.cs 24 'System.Web.UI.HtmlControls.HtmlForm' does not contain a definition for 'Lock' and no extension method 'Lock' accepting a first argument of type 'System.Web.UI.HtmlControls.HtmlForm' could be found (are you missing a using directive or an assembly reference?) 2
Error E:\...\StateMgmt\ 13 E:\infonet\in\StateMgmt\Default.aspx.cs 25 Cannot apply indexing with [] to an expression of type 'System.Web.UI.HtmlControls.HtmlForm' 3
Error E:\...\StateMgmt\ 25 E:\infonet\in\StateMgmt\Default.aspx.cs 26 'System.Web.UI.HtmlControls.HtmlForm' does not contain a definition for 'UnLock' and no extension method 'UnLock' accepting a first argument of type 'System.Web.UI.HtmlControls.HtmlForm' could be found (are you missing a using directive or an assembly reference?) 4
Error E:\...\StateMgmt\ 108 E:\infonet\in\StateMgmt\Default.aspx.cs 27 Cannot apply indexing with [] to an expression of type 'System.Web.UI.HtmlControls.HtmlForm' 5
Can anyone tell me the solution?