Which control can hold so much text?

Posted on 2004-11-29
Last Modified: 2010-04-24

I'd like to know which control should I use for holding/editing very large (text can be up to megabytes) amount of text? I've tried using textbox, but it splits the data (don't know how much can it store). I get data from a remote database, and i need to edit sometimes... What do you suggest?
Question by:viktor1983
    LVL 19

    Accepted Solution

    LVL 19

    Expert Comment

    Richtextbox maximum lenght : 2147483647 =    ~2 GB
    TextBox maximum length : 32767 chars  =  ~30 KB
    LVL 25

    Expert Comment

    Desp is correct (as usual ;-)) , the textbox has a 64K limit the richtextbox has not.
    LVL 18

    Expert Comment

    Hi viktor1983,
    If you still want more, use Word Automation :)


    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
    Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now