예제 #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            ClientSetupServiceSoapClient clientSetupServiceSoapClient = new ClientSetupServiceSoapClient();
            ClientSetupInfo clientSetupInfo = clientSetupServiceSoapClient.GetClientSetup();

            ImageComapnyLogo.ImageUrl = "data:image/png;base64," + clientSetupInfo.CompanyLogoBase64Str;
        }
예제 #2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            ClientSetupServiceSoapClient clientSetupServiceSoapClient = new ClientSetupServiceSoapClient();
            ClientSetup clientSeup = clientSetupServiceSoapClient.GetClientSetup();

            LabelCompanyName.Text = clientSeup.LegalName;

            if (Session["CurrentUser"] != null)
            {
                AccessControl accessCntrl = (AccessControl)Session["CurrentUserRole"];
                LabelLoginUserInfo.Text = Session["CurrentUser"].ToString();
            }
            else
            {
                LabelLoginUserInfo.Text = "N/A";
            }
        }