Last active
January 16, 2023 10:44
-
-
Save ritacse/c60501af1ca4c779422daf959f44d260 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Read Web.Config Key from server end in C# | |
// add Key in Web.Config after ending: </connectionStrings> tag | |
<appSettings> | |
<add key="FileUploadedPath" value="~/PurchaseCSDocument/" /> | |
<add key="LiscenseExpireDate" value="2023-01-15" /> | |
</appSettings> | |
// Declare global Variable in server end(controller or handler) & get value | |
private string LiscenseExpireDate = Convert.ToString(ConfigurationManager.AppSettings["LiscenseExpireDate"]); | |
var q = new { DashboardLogin = oDashboardLogin, | |
EmpCases = list_HRMS_Disciplinary_Case_T, | |
LiscenseExpireDate = LiscenseExpireDate }; /// Passing value to js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment