Im trying to learning asp.net & c# and am working through a tutorial that asks me to:
"Add 9 public properties of type TextBox to the code-behind file. There should be one public property for each TextBox control on the page. Each property should have only a get accessor that simply returns the TextBox object that it corresponds to."
Ive added code below but im not really sure if what ive added is what is asked for, can anyone give me some help.
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="MadLib1.aspx.cs" Inherits="State_MadLib1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<title>ASP.NET Madlib Creator - Step 1</title>
<form id="form1" runat="server">
<h1>ASP.NET Madlib Creator</h1>
<p>Step 1: Enter the following types of nouns</p>
<td><asp:TextBox ID="txtNoun1" runat="server" ontextchanged=&
View Complete Post