Saturday, June 20, 2026

Email Message Draft

ONLY  BODY SECTION  


mail.Body = @"

<html>

<head></head>

<body style='font-family:Arial, Helvetica, sans-serif; font-size:14px;'>


<p>Dear Student,</p>


<p>

Thank you for registering for the <b>Yoga Demo Session</b> with

<b>NRsolution4u</b>.

</p>


<p>

To complete your registration, please verify your email address using the

One-Time Password (OTP) below:

</p>


<p style='font-size:20px; color:#0066CC;'>

<b>Your OTP: " + otp + @"</b>

</p>


<p>

This OTP is valid for <b>10 minutes</b>.

Please do not share it with anyone.

</p>


<p>

If you did not request this registration, please ignore this email.

</p>


<p>

Thank you for choosing <b>NRsolution4u</b>.

We look forward to welcoming you to the Yoga Demo Session.

</p>


<br />


<p>

Regards,<br /><br />


<b>Team NRsolution4u</b><br />


Email:

<a href='mailto:info@nrsolution4u.com'>

info@nrsolution4u.com

</a>

<br />


Website:

<a href='https://www.nrsolution4u.com'>

www.nrsolution4u.com

</a>


</p>


</body>

</html>";

Display checkbox list selected text in label control

  StringBuilder sb = new StringBuilder();


        foreach (ListItem item in CheckBoxList1.Items)

        {

            if (item.Selected)

            {

                sb.Append(item.Text + ", ");

            }

        }

        lblfocdata.Text=sb.ToString();


Display professional message in aspx page

 <table align="center" cellpadding="10" cellspacing="0" border="1" width="700">

        <tr>

            <td align="center">


                  


                <asp:Label ID="lblTitle" runat="server"

                    Text="Registration Successful"

                    Font-Bold="True"

                    Font-Size="X-Large"

                    ForeColor="#a33987">

                </asp:Label>


                <br /><br />


                <asp:Label ID="lblMessage" runat="server">

                </asp:Label>


                <br />


                <asp:Literal ID="Literal1" runat="server" Text="

                    <b>Dear Student,</b><br /><br />


                    Thank you for registering for the <b>Yoga Demo Session</b>.<br /><br />


                    Your registration has been received successfully.

                    Our admin team will verify your registration and send the

                    <b>Google Meet Link</b> along with the

                    <b>Demo Class Schedule</b> to your registered email address

                    within <b>24 hours</b>.<br /><br />


                    Kindly check your <b>Inbox</b> as well as your

                    <b>Spam/Junk</b> folder for the email.<br /><br />


                    Thank you, and we look forward to seeing you in the demo session!<br /><br />


                    <b>Team NRsolution4u</b>">


                 

                </asp:Literal>  <br /> 


                 <a href="Default.aspx" style="color: #666; font-size: 0.9rem;">&#8592; Back</a> <br />

            </td>

        </tr>

    </table>

IMP TOPIC

 [1] FULL LENGTH DROP DOWN LIATS 

<asp:DropDownList ID="ddlStudentType" runat="server"
CssClass="fullDropdown">
<asp:ListItem Text="Indian Student" Value="Indian"></asp:ListItem>
<asp:ListItem Text="International Student" Value="International"></asp:ListItem>
</asp:DropDownList>


CSS  CREATE 

.fullDropdown {
width: 100%;
height: 38px;
padding: 6px 12px;
border: 1px solid #ced4da;
border-radius: 4px;
box-sizing: border-box;
}




Email Message Draft

ONLY  BODY SECTION   mail.Body = @" <html> <head></head> <body style='font-family:Arial, Helvetica, sans-serif...