string name = Request["userName"].ToString();的作用是 :通过url或者form传递过来的值赋值给name,比如说userName是客户端用户输入的内容,然后把这个内容赋值给name.