changing the presentation of databound info

Last post 03-31-2007 11:10 AM by vfdelbene. 2 replies.

Sort Posts:

  • changing the presentation of databound info

    03-31-2007, 12:07 AM
    • Member
      65 point Member
    • vfdelbene
    • Member since 04-28-2006, 12:30 AM
    • Posts 23
    I am new to asp.net and SQL 2005.  I have a asp.net form with a description field (text box) that enters the data into a database and is displays it on another page in a databound control.  Is there a way to control the presentation of the databound information b/c after a certain amount of characters (depending on the page section) the data starts forcing the page section to increase and look messy.  Is there a way for to specify that after a certain number of characters go to the next line, or do I have to change something in the description text box or the databound control when it displays the data to display it properly?  I hope I expained that correctly.  Thank you.
  • Re: changing the presentation of databound info

    03-31-2007, 3:12 AM
    • All-Star
      46,040 point All-Star
    • joteke
    • Member since 06-16-2002, 11:24 AM
    • Kyro, Finland
    • Posts 6,879
    • ASPInsiders
      Moderator
      TrustedFriends-MVPs

    Hi,

    yes, it is. What databound control do you use? GridView, Repeater etc? They have RowDataBound or ItemDataBound events to deal with the data when it is to be databound. You can use a helper function with them, for example.

    Thanks,

    Teemu Keiski
    Finland, EU
  • Re: changing the presentation of databound info

    03-31-2007, 11:10 AM
    • Member
      65 point Member
    • vfdelbene
    • Member since 04-28-2006, 12:30 AM
    • Posts 23
    Thanks for the info.  One is a GrivView and one is a DataList.  I will try and see if the helper function works.
Page 1 of 1 (3 items)