e

来源:互联网 发布:ubuntu光盘修复系统 编辑:程序博客网 时间:2024/06/09 17:02
Using  SimpleWeb;protected void Button1_Click(object sender,EventArgs e){//实例化Service 对象Service ms=new Service();//调用Service对象ms的HelloWord方法,//将TextBox.Text作为参数传递给HelloWord方法Label1.Text=ms.HelloWorld(TextBox1.Text);}


Using  SimpleWeb;

protected void Button1_Click(object sender,EventArgs e)

{

//实例化Service 对象

Service ms=new Service();

//调用Service对象ms的HelloWord方法,

//将TextBox.Text作为参数传递给HelloWord方法

Label1.Text=ms.HelloWorld(TextBox1.Text);

}

原创粉丝点击