((Login)LoginView1.FindControl("Login1")).UserName; 转载于:https://www.cnblogs.com/wax01/archive/2008/07/26/1251922.html