哪里不对。。???

 protected void btn_Login_Click(object sender, EventArgs e)

    {

        string user = txt_UserName.Text.Trim();

        string pass = txt_UserPassword.Text.Trim();

        if( user ==  "admin"&& pass = = "123456");

          lbl_Result .Text = "登陆成功!";

       else //img1.sycdn.imooc.com/59e366e200013fde13120773.jpg

          lbl_Result .Text ="登陆失败!";

    }


慕粉1471867890
浏览 1305回答 1
1回答

__innocence

if后面为何要有分号,==中间为何要有空格
打开App,查看更多内容
随时随地看视频慕课网APP