Saturday, December 13, 2008

ASP.NET Dynamic values in textarea or textbox fields.

Hi
How to append a value dynamically in a textarea from .vb page in which I am bringing value from database.

1 comment:

  1. Hey guys,

    I have found solution for it.

    Using ASP tags in your aspx code can help you dynamically retrieve data from server and append it to text area. For example
    < %
    Dim x As Integer
    'Get value for x from database by calling database connection. Here I am directly assigning it.

    x = 43

    % >

    < textarea id="tid" >
    Printing your dynamic value of : is < % =x % >
    < /textarea >

    Thats it!!
    hope it helps others.

    Bye

    ReplyDelete