I have a radio button list and I need to display a lable message when ever user select "A"
i wrote some code in c# but its not working can sombody help me.
<td align="left" >
<asp:RadioButtonList ID="RBl1" runat="server" AutoPostBack="True"
CellPadding="2" CellSpacing="5"
onselectedindexchanged="RBl1_SelectedIndexChanged">
<asp:ListItem Value="G" Selected="True" >Regular Grants</asp:ListItem>
<asp:ListItem Value ="A">ARRA Grants</asp:ListItem>
<asp:ListItem Value ="C">Contract</asp:ListItem>
</asp:RadioButtonList>
</td>
protected void RBl1_SelectedIndexChanged(object sender, EventArgs e)
{
if (RBl1.SelectedValue = "A")
{
mesg.text = "ARRA FUNDS NOT AVAILABLE" ;
}
else
lblmsg.Text="";
MakeSQL();
}