How to get the value of key in my asp:textbox on aspx page?

mkzpika

New Member
I am developing HRM System in which I have stuck on a problem.

There is a page for set maximum and minimum no of holidays for normal user (can be set by admin).I want to restrict the user that he cant enter more than 1 n not enter in max limit more than 10.

I can do it simply by validation but due to my client I am doing it by different way.I have made a public key in \[code\]Bo layer\[/code\] and define the value in \[code\]db\[/code\].

I want to know that how to call the value with the help of key .code:\[code\]namespace HRMS.BO{ public class ConfigurationKey { public const string LeaveWeeklyOffMaxDays = "LeaveWeeklyOffMaxDays"; public const string LeaveTypeAccrualMinDays = "LeaveTypeAccrualMinDays"; public const string LeaveTypeAccrualMaxDays = "LeaveTypeAccrualMaxDays"; }}\[/code\]I want to put the text box in update panel on on key change it compare the entered value with \[code\]db\[/code\] value and visible n hide label on the basis of comparison.
 
Back
Top