Exemplo n.º 1
0
    protected void btnSave_Click(object sender, EventArgs e)
    {
        RegistrationBusiness   Registration = new RegistrationBusiness();
        RepeaterItemCollection Items        = ReviewRepeater.Items;
        Literal      lblRegisterNo;
        DropDownList drpInformResult;

        foreach (RepeaterItem Item in Items)
        {
            lblRegisterNo   = (Literal)Item.FindControl("lblRegisterNo");
            drpInformResult = (DropDownList)Item.FindControl("drpInformResult");
            Registration.SaveReview(lblRegisterNo.Text, drpInformResult.SelectedValue, UserName);
        }
    }