Home »
MCQs »
ASP.Net MCQs
What is the correct syntax to create ASP.NET CheckBox control?
66. What is the correct syntax to create ASP.NET CheckBox control?
- <asp:CB ID="CB1" runat="server" Text="BCA"/>
- <asp:Check-Box ID="CB1" runat="server" Text="BCA"/>
- <asp_net:CheckBox ID="CB1" runat="server" Text="BCA"/>
- <asp:CheckBox ID="CB1" runat="server" Text="BCA"/>
Answer: D) <asp:CheckBox ID="CB1" runat="server" Text="BCA"/>
Explanation:
The 4th syntax is correct to create an ASP.NET Calendar control.