Products Technologies Demo Docs Blog Support Company

Revised Sample: Converting Text to a Table

TX Text Control .NET for Windows Forms supports splitting plain text into a table using delimiter characters such as commas or hyphens. This sample, migrated from Visual Studio 2003 to 2005, demonstrates the conversion and works with newer versions due to backwards compatibility.

Revised Sample: Converting Text to a Table

First of all, I would like to wish all of our users a happy and successful year 2009. I am sure that it will be a fantastic year with a lot of new features and improvements for the TX Text Control family of products.

I just revised an older sample we published several years ago. This sample was built with Visual Studio 2003 and an older version of TX Text Control .NET for Windows Forms. I converted the sample to Visual Studio 2005 and the latest TX Text Control version. Due to TX Text Control's backwards compatibility, the sample can be used right away. Generally, you just need to replace the reference to TX Text Control .NET for Windows Forms and the code works with newer versions of TX Text Control.

Visit the source code library to download the sample:

How to convert text to a table

This sample shows how to convert text to a table using delimiters like a comma or a hyphen. I just saw this request in our support department and thought to share that with you.

Feel free to contact me, if have any questions about this sample, the product plans for 2009 or any other TX Text Control related questions.

Stay in the loop!

Subscribe to the newsletter to receive the latest updates.

Related Posts

.NETSampleTables

Apply a Boxed Frame Style to Selected Cells

This sample demonstrates how to programmatically apply a boxed border style to several selected table cells in TX Text Control. The code adjusts each individual cell border to replicate the…


Windows FormsWPF.NET

Create a Table of Contents in Windows Forms using C#

This article explains how to create a table of contents in Windows Forms using the ribbon or programmatically. Creating a table of contents is required to organize large documents.


Windows FormsList.NET

Two Ways to Restart Numbered Lists in TX Text Control

In TX Text Control, numbered lists are continued by default and need to be reset when required. There is more than one way if you want to restart numbered lists in a document. In this article, two…


.NETSample

Paste Special: The Easy Way to Implement

TX Text Control version 15.0 introduced a ClipboardFormat parameter on the Paste method, enabling native Paste Special functionality. The GetClipboardFormats method returns all available clipboard…


SampleTables

TX Text Control .NET for Windows Forms: Converting a Table to Text

TX Text Control .NET for Windows Forms exposes Table and TableCell classes that simplify converting tables to plain text. A C# method iterates every cell, accumulates row strings with a…

Share on this blog post on: