示例#1
0
	protected void cmdCreate_Click(object sender, EventArgs e)
	{
		SoapSecurityService proxy = new SoapSecurityService();
		try
		{
			proxy.CreateTestUser(txtUserName.Text, txtPassword.Text);
			lblInfo.Text = "Successfully added this user as an administrator.";
		}
		catch (Exception err)
		{
			lblInfo.Text = err.Message;
		}
	}