I need help to write a code using C in visual studio 2015 or
I need help to write a code using C# in visual studio 2015 or 2012. If you could copy and paste the code to the answer part that would work the best. Here are the requirements....
Create a Web application that:
displays a header (called: SOLID Toy Company)
asks for a client\'s:
first name
last name
address (multiple text boxes)
phone number
Solution
aspx file
<form id=\"form1\" runat=\"server\">
<table class=\"style1\">
<tr>
<td colspan=\"2\">
SOLID Toy Company<br />
</td>
</tr>
<tr>
<td class=\"style2\">
Enter First Name</td>
<td>
<asp:TextBox ID=\"TextBox1\" runat=\"server\" Width=\"186px\"></asp:TextBox>
</td>
</tr>
<tr>
<td class=\"style2\">
Enter Last Name
</td>
<td>
<asp:TextBox ID=\"TextBox2\" runat=\"server\" Width=\"186px\"></asp:TextBox>
</td>
</tr>
<tr>
<td class=\"style2\">
Enter Your Address </td>
<td>
<asp:TextBox ID=\"TextBox3\" runat=\"server\" Width=\"232px\"></asp:TextBox>
</td>
</tr>
<tr>
<td class=\"style2\">
</td>
<td>
<asp:TextBox ID=\"TextBox4\" runat=\"server\" Width=\"232px\"></asp:TextBox>
</td>
</tr>
<tr>
<td class=\"style2\">
Enter Your Phone Number</td>
<td>
<asp:TextBox ID=\"TextBox5\" runat=\"server\"></asp:TextBox>
</td>
</tr>
</table>
<p>
</p>
<p>
</p>
<p>
</p>
<div>
</div>
</form>
cs file
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
string firstName = TextBox1.Text;
string lastName = TextBox2.Text;
string AddressLine1 = TextBox3.Text;
string AddressLine2 = TextBox4.Text;
string phone = TextBox5.Text;
}
}

