stirng user=UserName.Text;
string pass=PassWord.Text;
UserName,PassWord分别为你的WEB控件ID
然后设断点监视其值