C#C
C#3y ago
Fischi

✅ WPF Label does not print out the first underline _

private void btn_Login(object sender, RoutedEventArgs e)
        {
            username = txtbox_login_username.Text;
            password = txtbox_login_password.Text;
            connectionString = "Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.218.128)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=orcl.localdomain)));User Id=dmsadm;Password=dmsadm;";
            OracleConnection connection = new OracleConnection(connectionString);
            connection.Open();


            string loginid_sqlstring = "_ SE_LECT USER_ID FROM DMS_USERS WHERE USERNAME = 'test';";
            TestLabel1.Content = (loginid_sqlstring);
            string loginpassword_sqlstring = "SELECT password FROM DMS_USERS WHERE USERID = '" + loginid_sqlstring + "';";
        }

Something is wrong with the --> TestLabel1.Content = (loginid_sqlstring);
It does not print out the first underline for whatever reason
image.png
Was this page helpful?