I'm trying to display null value only if the textbox is empty. In my case even if i'm giving input in the textbox, it won't detect as null value. Kindly help me to solve my error please.
 protected void AnyTextBox_TextChanged(object sender, EventArgs e)
        {
            if ((string.IsNullOrEmpty(TextBox1.Text)))
            {
                TBResult1.Text = "N/A";
            }
            else
            {
                TBResult1.Text = TextBox1.ToString();
            }
 <asp:TextBox ID="TextBox1"  OnTextChanged="AnyTextBox_TextChanged" AutoPostBack="true" runat="server"></asp:TextBox>
 <asp:TextBox ID="TBResult1"  OnTextChanged="AnyTextBox_TextChanged" AutoPostBack="true" runat="server"></asp:TextBox>



TBResult1.Text = TextBox1.Text;