コード例 #1
0
 // A button that adds the Buildname and authorsname to the instance of Build and saves the build you made to the    ----
 // database ------------------------------------------------------------------------------------------------------------
 protected void btnSave_Click(object sender, EventArgs e)
 {
     myBuild.AddNames(txtBuildName.Text, txtBuildAuthor.Text);
     Check();
     myBuild.SaveBuild();
 }