How to assign value to checkboxes.

 Posted by vishalneeraj-24503 on 5/3/2014 | Category: ASP.NET Interview questions | Views: 549 | Points: 40
Answer:

Use Text property to assign value to checkbox.

For Example:-
<asp:CheckBox ID="CheckBox1" runat="server"/>

On code behind:
CheckBox1.Text = "Yes";


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response