asp.net text box not taking null value

Discussion in 'ASP.NET' started by anudjoe, Sep 10, 2009.

  1. anudjoe

    anudjoe New Member

    Joined:
    Sep 10, 2009
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    i am new to asp.net ,i have two textboxes and in one user will enter value which will get added to the other automatically generated textbox value.But is user is not entering any value it is showing error.Any solution to solve this
     
  2. urstop

    urstop New Member

    Joined:
    Oct 17, 2007
    Messages:
    84
    Likes Received:
    0
    Trophy Points:
    0
    It could be some other problem, as when you don't enter a value into the text box, the Text property returns an empty string and not a null. Can you please post the code snippet so that we get more idea about what you are trying to do.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice