jag250
Active member
- Joined
- Sep 16, 2020
- Messages
- 28
- Programming Experience
- 1-3
http://miscapstone.uncw.edu/316f20matthewsk/MIS316/MP1Bmatthewsk.aspx
This is the project I have to build
I have created the online of the page and 3/4 panels are functioning and my textboxes are good to go.
I need help trying to get the math portion done and the radio and checkbox buttons. if you check the sample site you can see what parts I am missing. I am going to continue doing what I can, but help or a general outline of what I am missing would be greatly appreciated.
This is the project I have to build
I have created the online of the page and 3/4 panels are functioning and my textboxes are good to go.
I need help trying to get the math portion done and the radio and checkbox buttons. if you check the sample site you can see what parts I am missing. I am going to continue doing what I can, but help or a general outline of what I am missing would be greatly appreciated.
C#:
protected void Button1_Click(object sender, EventArgs e)
{
//input variable
string name = "";
int numbagels = 0;
//variables to labels
name = txtName.Text;
numbagels = Convert.ToInt32(txtNumofBagels.Text);
lblOrderFor.Text = name;
lblNumberofBagels.Text = numbagels.ToString();
if (rbCarryOut.Checked == true)
{
lblOrderType.Text = "Carry Out";
lblChargeTax.Text = "No";
}
else
{
lblOrderType.Text = "Dine In";
lblChargeTax.Text = "Yes";
}
pnlCustomer.Visible = false;
pnlDineorCarry.Visible = true;
}
protected void btnFinishOrder_Click(object sender, EventArgs e)
{
pnlDineorCarry.Visible = false;
pnlFinishOrder.Visible = true;
//input variable
string name = "";
int numbagels = 0;
name = txtName.Text;
numbagels = Convert.ToInt32(txtNumofBagels.Text);
Last edited by a moderator: