Practice Final Answers -- Winter 09 Part A. 1. See the section Applying CSS Classes to Asp.Net Controls in the 6/1 Lecture Notes for parts a, b, and c. Here is the event handler for part d: public void btnShowLen_Click(object sender, EventArgs e) { txtLength.Text = txtInput.Text.Length; } 2. Event handler: public void btnSubmit_Click(object sender, EventArgs e) { txtTeam.Text = Table1.Rows[2].Cells[1].ToString( ); foreach (TableCell c in Table1.Rows[3]) txtDisplay.Text += c.ToString( ); StreamWriter sw = new StreamWriter(c:\Database\myteam.txt); sw.WriteLine(Table1.Rows[1].Cells[0].ToString( )); } 3. a. Change the type of the button to type=submit. Change the form tag to